如何在JSP页面中得到Struts当前的.do路径?
请问有什么方法可以在jsp页面中取到.do的当前路径呢?
就像这样的路径:
http://localhost/test.do?param=test
类似request.getRequestURL()得到的结果
[解决办法]
<%=request.getRequestURL()%> ?param= <%=request.getParameter( "param ") %>
发布时间: 2012-03-29 12:53:12 作者: rapoo
如何在JSP页面中得到Struts当前的.do路径?
请问有什么方法可以在jsp页面中取到.do的当前路径呢?
就像这样的路径:
http://localhost/test.do?param=test
类似request.getRequestURL()得到的结果
[解决办法]
<%=request.getRequestURL()%> ?param= <%=request.getParameter( "param ") %>