Struts2
poet
这个作者很懒,什么都没留下…
展开
-
ActionContext && ServletActionContext
1. ActionContext在Struts2开发中,除了将请求参数自动设置到Action的字段中,我们往往也需要在Action里直接获取请求(Request)或会话(Session)的一些信息,甚至需要直接对JavaServlet Http的请求(HttpServletRequest),响应(HttpServletResponse)操作. 我们需要在Action中取得request请求参数"username"的值:ActionContext context = ActionContext.getCont转载 2011-05-30 22:49:00 · 401 阅读 · 0 评论 -
myeclipse8.5中写struts.xml配置文件时,没有提示功能.txt
<br />在myeclipse8.5中写struts2的struts.xml配置文件时,没有提示功能,可以这样解决:<br />---------------------------------------------------------------------------------------------------------------------------------------------------<br />1,打开window-preferences-myeclipse enter原创 2011-05-31 16:00:00 · 1583 阅读 · 0 评论