
struts
文章平均质量分 81
joy_jiang
这个作者很懒,什么都没留下…
展开
-
Web应用中避免Form重复提交的三种方案
Web应用中重复提交的问题的三种解决方案前两种是利用javascript,后面一种是在使用Struts的情况下的参考实现· 1 javascript ,设置一个变量,只允许提交一次。"javascript"> var checkSubmitFlg = false; function checkSubmit() { if (checkSubmitFlg == tru转载 2005-01-13 19:32:00 · 716 阅读 · 0 评论 -
扩展Struts
最近帮人做了个demo,用到了Hibernate, Spring, Struts的结构,对Struts也看了些内容,看到这篇文章觉得应该对使用Struts的朋友有所益处,所以翻译过来,共同学习。关于Hibernate+Spring+Struts的架构,Spring自带的sample:Jpetstore是一个参考。原文链接:http://www.onjava.com/lpt/a/5411扩展Stru转载 2005-01-13 19:34:00 · 713 阅读 · 0 评论 -
How To Add a TwoFields Validator
In the Struts Validator Guide, there is a section on how to create a pluggable validator that matches two fields. Ive been using this server-side validator (as shown in the example) to do password/co转载 2005-01-13 19:04:00 · 842 阅读 · 0 评论 -
Example #1: Struts with Hibernate
GoalThe primary goal of this example is to create a Jakarta Struts based application that uses Hibernate to access a single table in an instance of a MySQL database. This example does not seek to ex转载 2005-01-13 19:25:00 · 1141 阅读 · 0 评论