| Author |
how detect a location of any *.jsp?
|
dar
Ranch Hand
Joined: Nov 08, 2001
Posts: 45
|
|
Hi, all. I have any *.jsp file in address TOMCAT_HOME/webapps/jsplocation/test.jsp. I need to get a full path of this *.jsp at run-time. I tried these ways (methods), but without success. I need to get "TOMCAT_HOME/webapps/jsplocation/test.jsp" or "TOMCAT_HOME/webapps/jsplocation/". How can I do it? Please, any idea... Thank You for your answer. [ October 11, 2002: Message edited by: dajac chison ]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
Check out ServletContext.getRealPath hth, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: how detect a location of any *.jsp?
|
|
|