文件名称:lab4Plus
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-11-14
- 文件大小:
- 12kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1、Struts2框架下ActionSupport的使用(附加)
在Myeclipse中新建web项目lab4plus;
在实验四的基础上修改LoginAction,使之继承ActionSupport,并重写Validate方法,在其中增加FieldError、ActionError和ActionMessage;
修改login.jsp、loginSuccess.jsp和loginFail.jsp页面,用<s:actionmessage>和<s:actionerror>标签输出信息;
将lab4plus布署在Tomcat服务器上;
运行login.jsp页面,并记录运行结果、主要处理流程与关键代码。-, Struts2 fr a mework ActionSupport use (additional)
Create a new web project in Myeclipse lab4plus
In the experiment on the basis of four modified LoginAction, so inheritance ActionSupport, and override the Validate method, in which the increase FieldError, ActionError and ActionMessage
Modify login.jsp, loginSuccess.jsp and loginFail.jsp page with <s:actionmessage> and <s:actionerror> tag output information
The lab4plus deployed on Tomcat server
Run login.jsp page and record the results, the main processes and key code.
在Myeclipse中新建web项目lab4plus;
在实验四的基础上修改LoginAction,使之继承ActionSupport,并重写Validate方法,在其中增加FieldError、ActionError和ActionMessage;
修改login.jsp、loginSuccess.jsp和loginFail.jsp页面,用<s:actionmessage>和<s:actionerror>标签输出信息;
将lab4plus布署在Tomcat服务器上;
运行login.jsp页面,并记录运行结果、主要处理流程与关键代码。-, Struts2 fr a mework ActionSupport use (additional)
Create a new web project in Myeclipse lab4plus
In the experiment on the basis of four modified LoginAction, so inheritance ActionSupport, and override the Validate method, in which the increase FieldError, ActionError and ActionMessage
Modify login.jsp, loginSuccess.jsp and loginFail.jsp page with <s:actionmessage> and <s:actionerror> tag output information
The lab4plus deployed on Tomcat server
Run login.jsp page and record the results, the main processes and key code.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lab4Plus\.classpath
........\.mymetadata
........\.mystrutsdata
........\.project
........\.settings\.jsdtscope
........\.........\org.eclipse.jdt.core.prefs
........\.........\org.eclipse.wst.jsdt.ui.superType.container
........\.........\org.eclipse.wst.jsdt.ui.superType.name
........\src\action\LoginAction.java
........\...\beans\Student.java
........\...\dao\StudentDao.java
........\...\local\message_en_US.properties
........\...\.....\message_zh_CN.properties
........\...\struts.properties
........\...\struts.xml
........\WebRoot\login.jsp
........\.......\loginFail.jsp
........\.......\loginSuccess.jsp
........\.......\META-INF\MANIFEST.MF
........\.......\WEB-INF\classes\action\LoginAction.class
........\.......\.......\.......\beans\Student.class
........\.......\.......\.......\dao\StudentDao.class
........\.......\.......\.......\local\message_en_US.properties
........\.......\.......\.......\.....\message_zh_CN.properties
........\.......\.......\.......\struts.properties
........\.......\.......\.......\struts.xml
........\.......\.......\web.xml
........\.......\.......\classes\action
........\.......\.......\.......\beans
........\.......\.......\.......\dao
........\.......\.......\.......\local
........\.......\.......\classes
........\.......\.......\lib
........\src\action
........\...\beans
........\...\dao
........\...\local
........\WebRoot\META-INF
........\.......\WEB-INF
........\.myeclipse
........\.settings
........\src
........\WebRoot
lab4Plus