日期:2014-05-18  浏览次数:20690 次

如何在JSP页面中得到Struts当前的.do路径?
请问有什么方法可以在jsp页面中取到.do的当前路径呢?
就像这样的路径:
http://localhost/test.do?param=test

类似request.getRequestURL()得到的结果

------解决方案--------------------
<%=request.getRequestURL()%> ?param= <%=request.getParameter( "param ") %>