The img tag is mainly there in case the images in a secure location, and the user needs to be logged in to get them. In which case, URL rewriting would be required to retrieve them (or the user would be asked to log in to retrieve each image ;-(
You are not required to use the img tag if the images are in a public location. If the images are on another server, you may want to pass the URL in a bean, or as part of your own tag. If not, you can also use the conventional <img tag with relative references, or a scriplet to insert the path to the current context. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ Aapo Laakkonen wrote: > > > The Struts tag is doing this because this is the > > result of URL rewriting. The syntax is "strange", > > as you put it, because the session id is encoded > > as a path parameter, and not part of the query > > string. This is all explained in the Servlet spec. > > Is it possible to fix this behavior somehow? What > do you mean about strange syntax? And I'm still not > sure that where the problem exists. Are you saying > that IBM WebSphere 3.5.4 on AIX is somehow broken > or doesn't implement Servlet specification as it > should? I'm quite sure that there is some other > people who are using struts on WebSphere. Do you > have this kind of problems when URL-rewriting is > turned on? > > Kind regards > Aapo Laakkonen > > -- > 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]>

