获取contextPath
<s:property value="#request.get('javax.servlet.forward.context_path')" />
获取requestURI
<s:property value="#request.get('javax.servlet.forward.request_uri')" />
获取contextPath
<s:property value="#request.get('javax.servlet.forward.context_path')" />
获取requestURI
<s:property value="#request.get('javax.servlet.forward.request_uri')" />
转载于:https://www.cnblogs.com/voctrals/p/3698842.html