E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
ActionForm
struts静态动态
ActionForm
使用(二)
struts静态动态
ActionForm
使用(二)―验证登录例子区别时间属性验证机制 这篇博客主要介绍使用struts框架常用的验证方式。第一种:重写
ActionForm
的validate方法。
longx_ok
·
2014-01-11 23:49
Struts1
ActionForm
的使用
Struts中静态动态
ActionForm
的使用(一)登录例子区别时间属性验证机制在Struts1中,我们经常接触
ActionForm
为静态
ActionForm
。
longx_ok
·
2014-01-11 16:04
action
Form的使用
Struts1.1
高校平台 (一) Struts2利用
ActionForm
向Action传输数据
在实践中才能理解这些天在做高校平台的基础部分,遇到了各种各样的问题,不管大问题还是小问题都会让你调上一两小时,调试程序真是一件需要耐心的事情,如果弄了会弄不出来就不想弄了,思路会越来越来,调试需要我们理清思路、逐步排查一点点测试,建议大家多做单元测试要不问题一多了都不知道哪里出了问题,每写一个类或者一个方法最好测试通过了然后再进行下面的工作。在亲自做的过程中才感觉到以前只是看看视频好多需要回过头来
lilongsheng1125
·
2014-01-04 21:00
多行数据提交Struts的
ActionForm
的List属性中
今天遇到提交多行数据问题,在网上找了一点资料:WEB应用中一般都会处理主从表的信息,或者称之为头层与行层的一对多的关系数据,如订单头/订单明细.对于这种关系数据提交到后台的Struts的
ActionForm
wang_zhi_peng2007
·
2013-12-27 18:00
ActionForm
Struts1.x系列教程(16):使用LocaleAction类实现国际化的Web程序
配置一个动态Form(当然,也可以使用
ActionForm
的子类,但为了方便,建议使用动态Form)。这个动态Form至少得有一个表示语言的language属性(如zh、
yuke198907
·
2013-12-19 20:01
Web
struts1
LocaleAction
Struts1.x系列教程(14):动态Form
一、动态Form简介虽然
ActionForm
功能强大,但有些时候使用起来有些麻烦。如每建立一个用户录入界面(JSP页面),就得建立一个
ActionForm
子类来和这个页面对应。
yuke198907
·
2013-12-19 20:22
Web
struts1
动态form
Struts1.x系列教程(1):用MyEclipse开发第一个Struts程序
本系列教程将详细介绍Struts 1.x的基本原理和使用方法,在这篇文章中将以一个简单的例子(mystruts)来演示如何使用MyEclipse来开发、运行Struts程序,并给出了解决
ActionForm
yuke198907
·
2013-12-18 10:44
Web
MyEclipse
struts1
在ssh框架中service,action,jsp,formbeam,dao的调用顺序
actionform
封装请求参数。action接受请求,并接受封装好的actionfromaction调用service。
hww
·
2013-12-17 21:00
Struts2教程7:上传任意多个文件
所不同的是,Struts1.x的上传组件需要一个
ActionForm
来传递文件,而Struts2的上传组件是一个拦截器(这个拦截器不用配置,是自动装载的)。
yuke198907
·
2013-12-17 10:17
Web
struts2
上传任意多个文件
struts1与struts2的工作原理
3.通过Struts-Configuration.xml找到Action对应的
ActionForm
,并实例化。 4.把用户填写的数据自动填充到AcitonForm中。
liu517139239
·
2013-11-28 10:00
struts2
freemarker+jstl自定义标签实现动态表单的显示
下面是我总结的使用动态表单的主要步骤,大家做个参考:1、定义Map对象本例在SSH项目里面实现,所以需要配置
ActionForm
,Doc
liu765023051
·
2013-11-24 15:00
模板引擎
动态表单
Struts中
ActionForm
的初始化步骤
在ActionServlet接收到某个请求并将这个请求交给具体的某个Action处理之前,struts框架会检查配置文件中对应action的name属性是否设置。如果设置了,就会根据scope属性,在相应的域中查找是否存在这样的一个实例。如果没有,就会根据配置文件中的formbean配置信息new出对应的实例。如果有,则继续使用。然后会调用这个frombean的reset方法。然后调用se
u012358984
·
2013-11-20 00:00
struts
ActionForm
Struts 服务端表单数据验证流程
如果有这个name属性,那么struts框架会自动把提交的表单数据封装到一个
ActionForm
对象中,然后检查这个action的validate属性是否为true。如果不
u012358984
·
2013-11-19 22:00
struts
表单验证
表单数据验证
Struts1.3 action配置
下面是action元素的每个属性的作用描述:attribute在struts将JSP页面的表单对象封装成一个
ActionForm
对象后,会将这个
ActionForm
对象保存在request作用域中或者session
longx_ok
·
2013-11-17 21:39
Web
Action配置
Struts1.3
优化功能点
看代码: public ActionForward indexResult(ActionMapping mapping,
ActionForm
form, HttpServ
soft_xiaohui
·
2013-11-11 14:00
优化
Struts1 Action 属性详解
三、Struts中Action的属性详解/*attribute:指定
ActionForm
保存到指定上下文所使用的属性名,如果不指定attribute属性值,将使用name属性值作为保存时的属性名。
mcfly_ihai
·
2013-11-06 08:00
J2EE综合—在项目过程中Struts常见错误的全面汇总
1、“NobeanfoundunderattributekeyXXX”在struts-config.xml里定义了一个
ActionForm
,但type属性指定的类不存在,type属性的值应该是Form类的全名
zhang275827743
·
2013-10-29 15:00
J2EE
MVC框架 大PK
同时将请求参数封装到
ActionForm
。Action调用 Model层的业务方法,根据结果,Action返回Action
lee_govern
·
2013-10-24 16:00
mvc
struts的表单验证
阅读更多在
ActionForm
中重写父类的方法validate(),该方法会在参数传递过来后对属性的进行验证,验证不同过的时候,会根据struts-config.xml文件中的Action配置返回到input
zhengbocong
·
2013-10-20 20:00
strust
validator
struts的表单验证
阅读更多在
ActionForm
中重写父类的方法validate(),该方法会在参数传递过来后对属性的进行验证,验证不同过的时候,会根据struts-config.xml文件中的Action配置返回到input
zhengbocong
·
2013-10-20 20:00
strust
validator
struts2 PK struts1
Struts2框架与Struts1框架:(1)Struts2框架取消了
ActionForm
类,用户的请求参数可以通过Action类直接获取。
sjg11
·
2013-10-20 16:13
struts2
struts1
servelet 学习
public class initScheduleAction extends WbxAction{ public ActionFoward process(ActionMapping mapping
ActionForm
mfq666
·
2013-10-18 17:00
JavaScript
jsonp
Ajax
servlet
Struts接收list数据
首先说明一下在struts1中,当点击submit后,把表单中的数据全部提交,在后台是用一个Map来接收表单中的数据,struts对
ActionForm
中的数据赋值也是从这个map里取值的。比如:
doymm2008
·
2013-10-16 16:00
Struts中Resources cannot be null错误
出现这个问题首先检查struts-config.xml例如把Form的type写成了Action的路径,就会报这样的错Java代码 如果是对的话,就看下你的
ActionForm
了,是否继承了ValidatorForm
goodgirl1991
·
2013-09-28 14:00
Struts 中scope 为 session和request 的
ActionForm
对于一个
ActionForm
,有一个属性可选,也就是scope,默认选项为session。
Line
·
2013-09-26 21:00
struts
form
checkbox
actionFrom
struts1和struts2详细流程与区别
Struts1框架有3个重要组成部分:Action、
ActionForm
和ActionForward对
chape
·
2013-09-26 19:00
struts1和struts2的区别
4.struts1中使用
actionForm
不能直接传递给DaO层,必
齐晓威_518
·
2013-09-19 16:00
struts2
struts1和struts2的区别
4.struts1中使用
actionForm
不能直接传递给DaO层,必
齐晓威_518
·
2013-09-19 16:00
struts2
struts-config.xml中 action 的attribute属性与name属性
1、在一般情况下,
actionForm
是被存储在一定的scope中(request或session,通过action的scope属性来配置),当我们在配置时,指定name而不指定attribute,那么指定的
zhujiaxing666666
·
2013-09-11 15:00
Struts1与Struts2原理 区别 详解 汇总
Struts1框架有3个重要组成部分:Action、
ActionForm
和ActionForward对象。
ActionForm
必须实现Actio
杭州_周陶忠
·
2013-09-10 21:00
struts1 与 strust2 区别
details/7599901 struts1:核心控制器:ActionServlet负责拦截用户的所有请求 三个重要组成部分:Action、
ActionForm
dongbiying
·
2013-09-08 22:00
struts1
Struts1.x中的令牌(Token)使用
javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import org.apache.struts.action.
ActionForm
zhujiaxing666666
·
2013-09-06 10:00
struts1 中
ActionForm
赋值原理
首先说明一下在struts1中,当点击submit后,把表单中的数据全部提交,在后台是用一个Map来接收表单中的数据,struts对
ActionForm
中的数据赋值也是从这个map里取值的。比如
zhujiaxing666666
·
2013-09-05 20:00
在struts1中使用FormBean获得请求参数
可以定义一个bean来获取这些参数,struts会将这些请求参数自动天剑到bean中1.在jsp页面中提交多个请求参数时goto2.定义一个javaBean来存放这些请求参数,该javaBean必须继承
ActionForm
zhengbocong
·
2013-08-28 23:00
struts1
bean
在struts1中使用FormBean获得请求参数
可以定义一个bean来获取这些参数,struts会将这些请求参数自动天剑到bean中1.在jsp页面中提交多个请求参数时goto2.定义一个javaBean来存放这些请求参数,该javaBean必须继承
ActionForm
zhengbocong
·
2013-08-28 23:00
struts1
bean
导出excel
public ActionForward exportList(ActionMapping mapping,
ActionForm
form,  
京华倦客
·
2013-08-23 15:00
导出Excel
struts1执行流程及环境搭建
主要包含actionServlet、Action、
ActionForm
、ActionForward、ActionMapping这几个组件和struts-config.xml配置文件。
liusong0605
·
2013-08-19 09:00
struts学习(二)
struts学习进阶,第一部分讲到
ActionForm
和Action连用的情况,有些时候不需要使用
ActionForm
,这样更简洁方便。
ttcoool
·
2013-08-17 16:00
struts
struts1和struts2的流程区别
3、根据struts-config.xml配置, ActionServlet先将请求中的参数填充到
ActionForm
中,然后ActionServlet再将请求发送到Action 进行处理。
dreamoftch
·
2013-08-15 13:00
struts2
struts1
struts1和struts2的流程区别
3、根据struts-config.xml配置,ActionServlet先将请求中的参数填充到
ActionForm
中,然后ActionServlet再将请求发送到Action进行处理。
dreamoftch
·
2013-08-15 13:00
Struts1
struts2
struts1和struts2的流程区别
3、根据struts-config.xml配置,ActionServlet先将请求中的参数填充到
ActionForm
中,然后ActionServlet再将请求发送到Action进行处理。
dreamoftch
·
2013-08-15 13:00
Struts1
struts2
struts1.2如何防止重复提交
只有一个action并且action里面只有一个public ActionForward execute(ActionMapping mapping,
ActionForm
form,HttpServletRequest
齐晓威_518
·
2013-08-14 21:00
struts1
struts1.2如何防止重复提交
只有一个action并且action里面只有一个public ActionForward execute(ActionMapping mapping,
ActionForm
form,HttpServletRequest
齐晓威_518
·
2013-08-14 21:00
struts1
Struts 1 的一些问题总结
Struts1的一些问题总结博客分类: Struts1StrutsBean编程JSP框架1.
ActionForm
是控制层还是显示层控件? 控制层 2.Action什么时候被初始化?
zzjjiandan
·
2013-08-08 15:00
Struts常见错误汇总
1、“NobeanfoundunderattributekeyXXX”在struts-config.xml里定义了一个
ActionForm
,但type属性指定的类不存在,type属性的值应该是Fo
u011518709
·
2013-07-31 12:00
struts
层层递进Struts1(三)之Struts组成
这篇博客我们来说一下Struts的主要组成我们,通过前几篇博客,我们知道这个框架最重要的几个步骤:获取路径、封装表单、获取转向列表、转向逻辑处理、转向,与此对应的是:ActionServlet、
ActionForm
lidaasky
·
2013-07-27 16:00
struts1文件上传和下载
.*; importcom.
actionForm
.FileActionForm; importorg.apache.struts.actions.DispatchAction; importjava.util.Dat
水里游
·
2013-07-23 15:00
struts1
Struts中
ActionForm
的生命周期
ActionForm
有两种生命周期,一种是Request,另外一种是Session,经常使用的是Request,也就是ActionFom都是存在于一个Request中,也就是从一个客户请求开始到最终响应用户的过程
peonyzzdx
·
2013-07-16 22:00
ActionForm
Struts_struts1.X_简单实现
使用struts框架,将用户提交过来的数据表单封装成一个对象(是一个
ActionForm
子类的实例化对象),管理方便!2.实现过程(1).
strawberry2013
·
2013-07-11 21:00
struts
action
ActionForm
Struts1.X
Struts2教程7:上传任意多个文件
所不同的是,Struts1.x的上传组件需要一个
ActionForm
来传递文件,而Struts2的上传组件是一个拦截器(这个
looqy
·
2013-07-10 17:00
Struts2基础
上一页
2
3
4
5
6
7
8
9
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他