获取contextPath
<s:property value="#request.get('javax.servlet.forward.context_path')" />
获取requestURI
<s:property value="#request.get('javax.servlet.forward.request_uri')" />
本文共 225 字,大约阅读时间需要 1 分钟。
获取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