struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tin Pham" <>
Subject Re: <html:base/> in Tiles pages question
Date Sat, 26 Jul 2003 06:15:04 GMT
Hi Erez,

The final rendered page will use for the base url the location of

So regardless of where the other tiles are located the browser uses the url
of the mainLayout.jsp to calculate all relative links.

I guess the question is what are you planning to use the html base tag for?

I personally use it so that I can reference links and images using relative
links from the root regardless of my location. So my mainLayout.jsp sits on
the top level of my web folder.

"Erez Efrati" <> wrote in message
> I am using Tiles, now, where am I supposed to put the <html:base /> tag.
> I would assume inside the mainLayout.jsp, but wouldn't it cause any
> problems in other tile pages located in different directories?
> Thanks,
> Erez

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message