Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get context path using JSTL
08-24-2008, 04:38 PM
Post: #1
Get context path using JSTL
How can I access the context path using JSTL. I need the equivalant of

<%= application.getContextPath() %> using JSTL
Find all posts by this user
Quote this message in a reply
08-24-2008, 04:45 PM
Post: #2
RE: Get context path using JSTL
To read context path using JSTL.

Code:
<c:out value="${pageContext.servletContext.contextPath}" />
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Context Path of a web application sanjay 1 373 02-07-2008 08:26 PM
Last Post: albinjoseph

Forum Jump: