How to get Context Root in JSTL, JAVA 1. Javalogger.debug("request.getContextPath():" + request.getContextPath() ); 2. JSTLvar contextRoot = ""; print value is like "/yourContextRoot" ^^ ♣ Tech & Biz Salon/Tech 2012.11.13