你这样又是何必呢?干嘛不用两个独立的FORM?
解决方案 »
- 还是编码问题,从数据库读到可以显示,插入却出错
- 求助jsp分页第二页不能按条件现实的问题
- hibernate中get 有时出现 can't create statement from closed connection
- jfree 生成柱形图片问题
- jbuilder 2006最新技术文章和软件下载,强烈推荐
- 关于web.xml下Context标记中的debug属性
- 问一个不知是不是问题的问题
- JSONArray jsonArray2 = JSONArray.fromObject(list); 执行这句报错如下
- resin的url-pattern求救!
- jsp发布的问题
- javaBean的自定义标志
- 关于jsp中连接access数据库的问题
function process(v){
if(v=="in"){
document.theForm.action="in.jsp";
}else{
document.theForm.action="out.jsp";
}
document.theForm.submit();
}
</script><form name=theForm method=post>
<input type=text name=username>
<input type=text name=password>
<input type=button name=login value=LOGIN onclick="process('in')">
<input type=button name=logout value=LOGOUT onclick="process('out')">
<form>