请问struts中FormBean和ActionForm有什么区别?谢谢!!!! 故名思夜formbean用来接收网页传过来的数据action用来执行动作的,处理form的数据,执行相关的操作呵呵,这是很简单的解释你可以看看书 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 但我在一些文章中看到“ActionForm用封装页面数据”这句话,于是就跟FormBean的功能相混淆了! ActionForm用封装页面数据??不懂,是封装输出到网页的数据吧 http://www.yesky.com/20020820/1626192.shtmlhttp://developer.ccidnet.com/pub/disp/Article?columnID=294&articleID=28327&pageNO=1 不好意思。我开始没仔细看struts里面没有FormBean,只有ActionFormBean,ActionForm,Action 类你问的是什么 非常感谢!不过我还有一些地方不明白,尤其是在struts的代码中。。如; /** * The context attributes key under which our * <code>org.apache.struts.action.ActionFormBeans</code> collection * is normally stored, unless overridden when initializing our * ActionServlet. */ public static final String FORM_BEANS_KEY = "org.apache.struts.action.FORM_BEANS";//这样定义FORM_BEANS_KEY是什么意思?org.apache.struts.action.FORM_BEANS又是什么?我在org.apache.struts.action中找不到有关FORM_BEANS的定义啊!?还有,context attributes key (在注释中)是什么意思? “动态的formbean”又是什么意思? 一道百度算法比赛题 如何实现URL通信 求750*500左右的gif动态背景图片 关于GUI的题,帮帮我谢谢 一个调用 setBackground()的疑惑 请问如何实现getkey的功能 问一个paintComponent的问题 连接远端数据库????? 有没有人知道关于连接池详细介绍的网站,满意一定给分! Java TreeSet compareTo方法的内部循环问题? 一个关于static的简单问题 Java如何匹配一个正则表达式
不懂,是封装输出到网页的数据吧
http://developer.ccidnet.com/pub/disp/Article?columnID=294&articleID=28327&pageNO=1
struts里面没有FormBean,只有ActionFormBean,ActionForm,Action 类
你问的是什么
如;
/**
* The context attributes key under which our
* <code>org.apache.struts.action.ActionFormBeans</code> collection
* is normally stored, unless overridden when initializing our
* ActionServlet.
*/
public static final String FORM_BEANS_KEY =
"org.apache.struts.action.FORM_BEANS";
//这样定义FORM_BEANS_KEY是什么意思?org.apache.struts.action.FORM_BEANS又是什么?我在org.apache.struts.action中找不到有关FORM_BEANS的定义啊!?还有,context attributes key (在注释中)是什么意思?