> [The other problem here is in a cluster the server must be the virtual
> host fronting the cluster not the localhost, although this can be solved
> it's just an extra pain.]

According to
http://jakarta.apache.org/struts/userGuide/struts-html.html#base you can use
two attributes from which one is "server". I never tried this one, but it
looks like you can enter your virtual host there, possibly after reading it
from config file or so.... Default is request.getServerName(), not
localhost.

> I'm not sure on how to use the html:base tag in the opposite manner, ie
> the href to be that of the struts action's path not the jsp's path?

Indeed it seems impossible to create a <base> tag containing an action path
instead of a jsp path, or at least it didn't work for me. I assume your jsps
are not in the root? I once had difficulties with the <base> tag with jsps
not in the webapp root. I ended up placing the jsps in the webapp root. Not
sure if this is an option for your project, but maybe you can do the same?

I have to warn you that I don't know about tiles, nor can I tell you if that
makes the situation different. Just trying to give you hints :-)

Jeroen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to