Meir Yanovich wrote:
>  Hello all
> i have web project in war file with directory structure in witch i have the
> jspMain directory where all my jsps are
> and the links all pointing to it , but now i have customized pages that i
> like to put in new directory called jspXXX
> and i like tomcat to look in this directory first and if it finds the jps
> there it will always call it from there .
> can it be done in tomcat ?

If you are directly accessing the JSP, then no.

The directory it's in is part of the path it is accessed by, so if you
put it in a different directory then it would not be available under the
original path.

If access to the JSPs is managed by a controller, (in your own
application), of some sort, then you need to modify the controller to
look in the new location - this is expressly not something that Tomcat
would do.


p

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to