pajarokillo
Programmer
Hi, i want to know as i can to obtain the value of the context path of my application in javascript through struts. Now, i obtain the value through JSTL, with the following code
<%@ taglib uri=" prefix="req" %>
<req:request id="req"/>
contextPath = "<jsp:getProperty name="req" property="contextPath" />";
There is other way to obtain the same result with other code more easy?
<%@ taglib uri=" prefix="req" %>
<req:request id="req"/>
contextPath = "<jsp:getProperty name="req" property="contextPath" />";
There is other way to obtain the same result with other code more easy?