struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: <html:base> tag
Date Tue, 17 Dec 2002 06:17:28 GMT
What version of Struts are you using?  The recent <html:base> code looks ok. 
  It just constructs the url from request.getRequestURI().  What do your 
image paths look like?


>From: "Amit Badheka" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "Struts Users Mailing List" <>
>Subject: <html:base> tag
>Date: Tue, 17 Dec 2002 11:30:31 +0530
>HI All,
>I have a problem with displaying images in my jsp page. I am giving 
>relative path in the page. If I call the page directly it shows the images.
>But If I call the page from struts Template then it is not showing any 
>i have a dir structure like -
>      template.jsp
>    somefolder\
>         header.jsp
>     container.jsp (struts template definition)
>if I calls header directly it shows the images. But if I calls 
>container.jsp (which puts the header.jsp) then it is not showing any 
>I am also putting the <html:base /> tag in each page.
>what I observed is that my generated html code contains base tag as below , 
>     <base 
>it should be like -
>     <base 
>                 ^
>                 ||
>please help.

The new MSN 8: advanced junk mail protection and 2 months FREE*

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

View raw message