用Java的三层架构编写在线考试系统。如何实现它的用户注册。大概实现的思路是什么。

解决方案 »

  1.   

    1,建用户表。主要字段
    userid username password delflag2,注册画面register.jsp
    <html:form action="/doRegister.do">
    <html:text property="username" value=""/>
    <html:text property="password" value=""/>
    <html:submit value="OK"/>
    </html:form>3,作doRegisterAction类
    public class doRegisterAction extends Action{
       public void execute(){
       链接数据库,插入用户信息
       }
    }
      

  2.   

    bdchuxuezhe 
    该用户很懒,没有设置昵称 
    等级: 
    可用分等级:乞丐 
    总技术分:0 
    总技术分排名:3000000 
    结帖率:0.00% 没啥思路,就是简单注册被。