
Struts
llhdf
这个作者很懒,什么都没留下…
展开
-
Struts 中如何使用重定向
使用getRequestDispatcher 的方式,对于绝对路径是可以使用的,struts会自动加上context的。注意红色字体部分,如果没有将显示白页。request.getRequestDispatcher("/syslog/triger_manage.do?method=findTriger").[color=red]forward(request,response);[/c...2010-03-08 15:03:03 · 108 阅读 · 0 评论 -
Struts Action 属性的解释
摘录自 Jarkata Struts Live 一书, 留备参考。 Action Attributes Attribute Descriptionattribute The attribute specifies the name of the ActionForm that is mapped to a givenscope. If you do not specify an...原创 2010-01-12 17:41:26 · 111 阅读 · 0 评论 -
displaytag 标签 display:column 使内容居中对齐
适用display tag 标签,要想使内容居中对齐 text-align:center <display:column style="width:10%;text-align:center" maxLength="50" titleKey="label.Facility" property="facility" ></display:column>...原创 2010-02-03 14:32:12 · 528 阅读 · 0 评论 -
display 标签中 javascript 的用法
在 display 标签中 href 属性上使用javascript,如果嵌套调用EL语言,将会出现问题,总是显示第一个记录的对象信息,例如下述用法。1. 在内容中使用原创 2010-02-11 10:32:05 · 263 阅读 · 0 评论 -
转:displaytag使用大杂烩
[code="xml"] displaytag标签示例 body,td{font:normal 12px Verd...原创 2010-02-11 10:52:33 · 138 阅读 · 0 评论