tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burak YĆ½lmaz <>
Subject How to change(override) application path
Date Mon, 30 Jul 2007 15:50:00 GMT
My question is related with java but i think the solution is at the tomcat global variables
so i need this groups help.

I want my web links to be like

with the help of the front controller at java i will translate the url to
and dispatch it to the jsp file...

at web.xml i configured the url pattern like below


Everything is ok if i type the url like

if i type or my pages are
displayed but the images,css files,js files cannot be imported....This
is because application tries to get the images from like
mycontext/album/images/xxx.gif but in fact the images are under

Because of this urlrewriting i have this path problem...So there must be some option i will
re set exmp: TOMCAT.Application.Path="" everytime after recreation
of real url and my images and other files will be displayed correctly.

thank you


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos &

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message