-
lab4Plus
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 framework 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.
)
- 2013-11-14 15:11:53下载
- 积分:1
-
日历插件
aspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspaspasp
- 2022-03-15 09:09:19下载
- 积分:1
-
字符串
字符串相关指令的知识点和字符串相关的面试题,推荐(Knowledge Points of String-related Instructions and String-related Interview Questions, Recommendations)
- 2020-06-23 06:00:02下载
- 积分:1
-
Extjshelp
ext开发,帮助你解决。net和ext 的整合
遇到的大部分问题(extjs help document to help you)
- 2010-12-02 10:06:34下载
- 积分:1
-
模拟别踩白块
这个没事随便写的,对于新手还是可以看看,不喜勿喷!
- 2022-03-19 11:37:08下载
- 积分:1
-
js 写入文档
$(function(){
$("#import").click(function(){
$("#files").click();
});
});
function importMsg(){
var selectedFile = document.getElementById("files").files[0];//获取读取的File对象
var name = selectedFile.name;//读取选中文件的文件名
var size = selectedFile.size;//读取选中文件的大小
console.log("文件名:"+name+"大小:"+size);
var reader = new FileReader();//这里是核心!!!读取操作就是由它完成的。
reader.readAsText(selectedFile);//读取文件的内容
reader.onload = function(){
console.log(this.result);//当读取完成之后会回调这个函数,然后此时文件的内容存储到了result中。直接操作即可。
};
}
$(function(){
$("#export").click(function(){
var content = "This is used as HTML5 log";
var blob = new Blob([content], {"type": "
- 2022-01-28 03:32:10下载
- 积分:1
-
SwbClock
是一个关于时种的小例子,写的很短对于刚学习java的新手有着很大的帮助!(On when the species is a small example, written in a very short period for the novice just learning java has a great help!)
- 2007-12-14 21:23:02下载
- 积分:1
-
地震中常用的一些偏移程序
地震中常用的一些偏移程序
- 2022-12-12 00:55:04下载
- 积分:1
-
1201
谷歌原型,这个是一个展示的原型,比较好,看不懂能联系我(Dripping open source Web mobile end component library cube-ui, unique technology that greatly optimizes performance)
- 2017-12-19 11:01:12下载
- 积分:1
-
Jave
用Jave实现加法器,此方法为实现方法比较简单,易于理解。对初学者很有帮助。(Implementation of adder using Jave, the method for realizing the method is simple, easy to understand. Very helpful for beginners.)
- 2013-09-01 10:05:09下载
- 积分:1