Your Ad Here

Posted By

indianocean on 02/12/08


Tagged

java


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

mifly
darkapple
LarryStreeter


Get Base dir of webapplication


 / Published in: Java
 

  1. request.getContextPath()

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: juande on May 9, 2008

With Expression Language

${pageContext.request.contextPath}

(http://java.sun.com/j2ee/1.3/docs/tutorial/doc/JSTL4.html)

You need to login to post a comment.