I am using a variable to set contextpath as given first.
then i am using this variable in
tag.
as
in
here
is the context path. But i want to write dynamically .
. But this code is not working.
Code:
<c:set var="path" value="${pageContext.request.contextPath}"/>
Code:
c:out
as
Code:
<c:out value="${path}"/>
Code:
<pg:pager maxPageItems="345" url="/myweb/device/deviceResults.do" prevNextUrl="/myweb/device/findDeviceResults.do">
Code:
/myweb
Code:
]<pg:pager maxPageItems="345" url='<c:out value="${path}"/>/device/deviceResults.do'