![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术整理
sysz2005
这个作者很懒,什么都没留下…
展开
-
从一个struts action类直接跳到另一个action中
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String bUrl = "kcxxAction.do?method=toFindKcx原创 2012-02-07 16:38:02 · 356 阅读 · 0 评论 -
关于struts2页面传值取值方式
关于struts2页面取值方式 %@taglib prefix="s" uri="/struts-tags"%> 1.Action中以request.setAttribute("xs0101",xs0101);方式传给页面 struts2标签方式: 注意“#request” 这是从request中取值,不加这个你发现你取不到值。 EL表达式方式:${xs0101.xsxm}原创 2012-08-29 09:04:36 · 755 阅读 · 0 评论 -
在Eclipse中打开资源文件所在的文件夹
用EasyExplorer插件,有了这个插件就可以很方便地打开资源文件所在的文件夹了. 他最简单的工作方式就是:直接将该jar文件放置在eclipse的 plugin 目录下,然后重启eclipse平台就可以在右键中看到East Explorer菜单项, 就可以打开资源所在的目录了。 org.sf.easyexplore_1.0.4.jar 下载地址 http://download.csd原创 2012-08-27 14:40:22 · 596 阅读 · 0 评论 -
javax.jws.WebService获取客户端IP地址
1、问题背景 WS服务器要限制客户端IP(项目场景中IP无法伪装),及记录调用日志。2、实现 先看示例代码,示例是用javax.jws.WebService写的,经测试有效。import javax.annotation.Resource; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebSer原创 2017-03-17 16:47:39 · 1534 阅读 · 0 评论