1. 程式人生 > >struts2的標籤呼叫

struts2的標籤呼叫


獲取contextPath       <s:property value="#request.get('javax.servlet.forward.context_path')" />         

獲取requestURI       <s:property value="#request.get('javax.servlet.forward.request_uri')" />