package com.yxq.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.apache.struts.actions.DispatchAction; public class MySuperAction extends DispatchAction { public void setParams(HttpServletRequest request){ HttpSession session=request.getSession(); String path=request.getServletPath(); if(path!=null&!path.equals("")) path=path.substring(1); session.setAttribute("servletPath",path); String method=request.getParameter("method"); if(method!=null&&!method.equals("")) session.setAttribute("method",method); } }
最近下载更多
lvhongquan LV11
2023年12月31日
taoshen95 LV14
2023年12月28日
wubinbin LV11
2023年4月14日
orenji LV1
2022年9月19日
yazhiyjs LV4
2022年8月30日
NCC7470597 LV1
2022年6月15日
yihongyuan LV13
2022年5月7日
微信网友_5933062541053952 LV2
2022年4月27日
yangyangmei LV1
2022年4月25日
3332hjjj LV1
2022年4月15日