For your images and stylesheets, I suggest using <html:rewrite> for the
paths - works great for me.

<img src="<html:rewrite page="/images/myImage.gif"/>" alt="alt text" />

HTH,

Matt

> -----Original Message-----
> From: Dan Allen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 12:54 PM
> To: Struts-User List
> Subject: html:rewrite breaking images
> 
> 
> When I visit a struts page for the very first time in a browser
> (best way to test this is simply with lynx -source) it is adding the
> following to the end of all urls:
> 
> ;jsessionid=F4CF99D47374DF90EA1CEB573A0A32A5
> 
> which is breaking the images and stylesheet references until I
> reload (or in the case of lynx get it to store my cookie).
> 
> To see what I mean, visit:
> 
> lynx -source http://home.mojavelinux.com:8080/iprc/do/Home
> 
> and look at any graphic on the page.  Basically, it is missing the
> '?' that needs to appear after the resource and before the query
> string.  This seems to be like a bug, but I need someone to confirm.
> 
> Dan
>  
> -- 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Daniel Allen, <[EMAIL PROTECTED]>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Microsoft's Law of Software Engineering: 
> Don't worry if it doesn't work right. 
> If everything did, we'd be out of a job.
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to