光辉飞翔

导航

 

2012年8月10日

摘要: struts.xml<package extends="centric_default" name="case" namespace="/case"><action class="caseAction" name="case"><interceptor-ref name="default-stack"></interceptor-ref><interceptor-ref name="token"> 阅读全文
posted @ 2012-08-10 17:59 光辉飞翔 阅读(253) 评论(0) 推荐(0)
 
摘要: 这个标签很有意思!!<s:token />标签防止重复提交,用法如下:第一步:在表单中加入<s:token /><s:form action="helloworld_other" method="post" namespace="/test"> <s:textfield name="person.name"/><s:token/><s:submit/> </s:form>第二步:<action name="hello 阅读全文
posted @ 2012-08-10 17:56 光辉飞翔 阅读(1343) 评论(1) 推荐(0)
 
摘要: eclipse --->project ----->clean... 选项 将工程中的.class文件删除,同时重新编译工程,类似于jbuild中的rebuild 阅读全文
posted @ 2012-08-10 16:18 光辉飞翔 阅读(577) 评论(0) 推荐(0)