tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jouravlev" <>
Subject Re: Links to relative URL's from a JSP
Date Mon, 24 Jul 2006 18:07:32 GMT
On 7/24/06, David Smith <> wrote:
>  > My assumption is that JSP files are "rooted" in the WEB-INF directory
> and so must use the previous directory notation back up a directory to
> access the images contained the WebContent folder where everything else is.
> Nope.  They are "rooted" right where they are although internal
> forwarding can make the request URL different from the actual location
> of the JSP.

Right. Mike, check this link: Its wording could
be better, but hopefully you will get the idea. Basically, just use
<html:base/> tag. Without parameter it will "root" to the directory
where JSP is, or you can use a parameter and to "root" anywhere you

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

View raw message