Cedric>> I have the same problem.  Don't you have to use a version with the
server and port?

<base href="<%= "http://"; + request.getServerName()+":"+
request.getServerPort()+request.getContextPath()%>" />

Cal

-----Original Message-----
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 04:47
To: Struts Users Mailing List
Subject: Re: html:base and tiles - uses layout path


  Hello,

  I don't know why <html:base ...> act like this (need some investigation),
but
you could replace it by :

  <base href="<%=request.getContextPath()%>" />

  Hope this help,

  Cedric

Matt Raible wrote:

> I am using the <html:base/> tag in my baseLayout.jsp file.  I was hoping
this
> would simply render the host + context of my application, however it gives
the
> full path to my base tiles template.
>
> Any ideas?
>
> My idea is to just do away with it.
>
> Here's what it renders:
>
> <base href="http://localhost/onpoint/layouts/baseLayout.jsp";>
>
> Thanks,
>
> Matt
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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

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

Reply via email to