You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mathieu Grimault <gr...@presidence.univ-nantes.fr> on 2003/11/27 17:10:16 UTC

html:link, display problems

Hi everyone !

    My application is very simple and has 3 screens. The display on all screens is right. I would like to use a html:link to return from my 3rd screen to the second. The link is correct but the display is wrong : all my pics are not displayed. I've seen the source generated and the paths are right. Is this an IE problem ? Have you a solution ?

My environment : 
Windows XP - IE 6.0
Struts 1.1 - JDK 1.4 - Tomcat 4

Snipets from my sources :
An image that must be displayed : <img src="pics/loupe.gif">

The link : <html:link href="jsp/menu.jsp" >Retour</html:link>

Re: html:link, display problems [solved]

Posted by Mathieu Grimault <gr...@presidence.univ-nantes.fr>.
I can fix the problem by hardcode the src attribute..
<img src="/APPLICATION/pics/XXX.GIF"> instead of a <html:img .... >


----- Original Message ----- 
From: "Mathieu Grimault" <gr...@presidence.univ-nantes.fr>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, November 28, 2003 9:55 AM
Subject: Re: html:link, display problems


> With this tag i can fix the display when i come back to my second screen
but
> the initial display is wrong.... I found that the url prefix is wrong when
i
> come back. Is there a way to specify the absolute path ???
>
>
> ----- Original Message ----- 
> From: "Ed Robbins" <ed...@erobbins.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Thursday, November 27, 2003 6:22 PM
> Subject: Re: html:link, display problems
>
>
> > Do you have a base element in the html?  Try adding a <html:base>
> > http://jakarta.apache.org/struts/userGuide/struts-html.html#base
> >
> > Ed
> >
> > Mathieu Grimault wrote:
> >
> > >Hi everyone !
> > >
> > >    My application is very simple and has 3 screens. The display on all
> screens is right. I would like to use a html:link to return from my 3rd
> screen to the second. The link is correct but the display is wrong : all
my
> pics are not displayed. I've seen the source generated and the paths are
> right. Is this an IE problem ? Have you a solution ?
> > >
> > >My environment :
> > >Windows XP - IE 6.0
> > >Struts 1.1 - JDK 1.4 - Tomcat 4
> > >
> > >Snipets from my sources :
> > >An image that must be displayed : <img src="pics/loupe.gif">
> > >
> > >The link : <html:link href="jsp/menu.jsp" >Retour</html:link
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: html:link, display problems

Posted by Mathieu Grimault <gr...@presidence.univ-nantes.fr>.
With this tag i can fix the display when i come back to my second screen but
the initial display is wrong.... I found that the url prefix is wrong when i
come back. Is there a way to specify the absolute path ???


----- Original Message ----- 
From: "Ed Robbins" <ed...@erobbins.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Thursday, November 27, 2003 6:22 PM
Subject: Re: html:link, display problems


> Do you have a base element in the html?  Try adding a <html:base>
> http://jakarta.apache.org/struts/userGuide/struts-html.html#base
>
> Ed
>
> Mathieu Grimault wrote:
>
> >Hi everyone !
> >
> >    My application is very simple and has 3 screens. The display on all
screens is right. I would like to use a html:link to return from my 3rd
screen to the second. The link is correct but the display is wrong : all my
pics are not displayed. I've seen the source generated and the paths are
right. Is this an IE problem ? Have you a solution ?
> >
> >My environment :
> >Windows XP - IE 6.0
> >Struts 1.1 - JDK 1.4 - Tomcat 4
> >
> >Snipets from my sources :
> >An image that must be displayed : <img src="pics/loupe.gif">
> >
> >The link : <html:link href="jsp/menu.jsp" >Retour</html:link
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: html:link, display problems

Posted by Ed Robbins <ed...@erobbins.com>.
Do you have a base element in the html?  Try adding a <html:base> 
http://jakarta.apache.org/struts/userGuide/struts-html.html#base

Ed

Mathieu Grimault wrote:

>Hi everyone !
>
>    My application is very simple and has 3 screens. The display on all screens is right. I would like to use a html:link to return from my 3rd screen to the second. The link is correct but the display is wrong : all my pics are not displayed. I've seen the source generated and the paths are right. Is this an IE problem ? Have you a solution ?
>
>My environment : 
>Windows XP - IE 6.0
>Struts 1.1 - JDK 1.4 - Tomcat 4
>
>Snipets from my sources :
>An image that must be displayed : <img src="pics/loupe.gif">
>
>The link : <html:link href="jsp/menu.jsp" >Retour</html:link
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org