只显示主题贴

看了后有帮助,算是查漏补缺吧,LZ写的比较全面而已,谢谢LZ
第一步: 我们在struts-config.xml里: <action-mappings > <action attribute="logForm" input="/form/log.jsp" name="logForm" path="/log" scope="request" type="com.yourcompany.struts.action.LogAction" validate="true" <forward name="s" path="/form/MyJsp.jsp" /> </action> 里面必须加上va ...
  • 进入论坛 Java
第一步: 在jsp页面中,注意负责上传文件的控件要使用html:file标签,在html:form处注意加上enctype=“multipart/form-data” method为post 1、 <html:form method="post" action="/save_user" enctype="multipart/form-data" > 2、 <tr> <td>头像:</td> <td><html:file property="image" /></td> </tr> 第二步: ...
  • 进入论坛 Java
FCKeditor在线编辑器 FCKeditor 这个开源的HTML 文本编辑器可以让web 程序拥有如MS Word 这样强大的编辑功 FCKeditor官司方网址:http://www.fckeditor.net/ FCKeditor在线DEMO:http://www.fckeditor.net/demo FCKeditor下载直址:http://www.fckeditor.net/download 最新版已经是2.6了。 在项目中使用FCKeditor在线编辑器: (1) 新建一个WEB工程; (2) 解压FCKeditor_2.6.zip包,将其中的editor文件夹复制到项目中 ...
  • 进入论坛 Java
我自己写的课件,希望有的朋友需要
如果我有多个配置文件呢?就是说我每个模块一个配置文件,其次能不能说下服务器短验证和客户端验证的写法
  • 进入论坛 Java
有意思,好好听讲,天天忽悠
  • 进入论坛 Java
我想问一下,要用validator验证的时候要在struts-config.xml文件里先配置<plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml" /> </plug-in> 对吧,就这一点我有疑问,我的项目对每个模块都新建了配置文件,比如:struts-config-user.xml,那么plug ...
我想问一下,要用validator验证的时候要在struts-config.xml文件里先配置<plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml" /> </plug-in> 对吧,就这一点我有疑问,我的项目对每个模块都新建了配置文件,比如:struts-config-user.xml,那么plug ...
我想问一下,要用validator验证的时候要在struts-config.xml文件里先配置<plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml" /> </plug-in> 对吧,就这一点我有疑问,我的项 ...
iRoger
搜索本博客
最近加入圈子
最新评论