I\'m sending the request from Display.jsp to TrialShow.jsp page, but whenever I call ${pageContext.request.requestURL} in TrialShow JSP page, I\'m
Display.jsp
${pageContext.request.requestURL}
Use ${requestScope['javax.servlet.forward.request_uri']}
${requestScope['javax.servlet.forward.request_uri']}
EDIT: corrected syntax
EDIT: This works if you forwarded request to the second jsp (for example, using )