当前位置: 代码迷 >> Java Web开发 >> 程序
  详细解决方案

程序

热度:908   发布时间:2016-04-17 12:44:19.0
求一个程序
目的:从一个网页a(www.aa.com)输入用户名(111)和密码(222)转到另一个网页b(www.bb.com)
要求:写一个html文件c.html,实现点击c.html的时候实现上面的功能

------解决方案--------------------
a.html
<html>
<body>
<center>
<form action="b.html" method="post">
用户名:
<input type="text" name="username" /><br>
密码:
<input type="password" name="userpassword"/><br>
<input type="submit" name="submit" value="确定">
</center>
</body>
</html>

b.html
<html>
<body>
成功登录!
</body>
</html>
根据需求自己改。
------解决方案--------------------
那你还不如弄一个快捷方式,直接放到桌面就可以了!
  相关解决方案