tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burak Yýlmaz <>
Subject Re: How to change(override) application path
Date Mon, 30 Jul 2007 17:56:26 GMT
My links was not starting with "/" i misswrote it sorry.

now when i wrote my links starting with "/" and links are like;
and the images are displayed now. Anyway i now i have to put "/" on the start of my every

I still didnt understand this path system is supplied by tomcat? ,browser compiler like ie,firefox?
or java?...

In fact its still not the real solution that i want. I have tried all ways of wrapping the
request object but understood that its not related with request variables. So thats why i
came here and started to think that if i can override any tomcat parameters and solve this
pathing problem.

----- Original Message ----
From: Hassan Schroeder <>
To: Tomcat Users List <>
Sent: Monday, July 30, 2007 8:17:09 PM
Subject: Re: How to change(override) application path

On 7/30/07, Burak Yýlmaz <> wrote:
> my links to images,css,js are like below in jsp files;
> /images/xxx.jpg
> /js/xxx.js
> /css/xxx.css
> solution is fully re rewriting the url's i know like;

No, not at all. If your links are really  absolute paths, it should just
work. The only way something like "mycontext/album/images/xxx.gif"
would happen is if the link is relative -- not starting with "/".

Perhaps you should post an actual JSP that demonstrates the issue...

Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers
- Check it out.

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

View raw message