Title: URL encoding in <html:image> and <html:img> tags

Hi all,

First of all, I'm French so sorry for my English

I don't understand why Struts's <html:image> and <html:img> tags encodes GIF's names with session's ID ?

I am using :

  • <html:image> tag with <html:form>
  • <html:img> tag with <html:link>
  • <html:img> standalone

in my JSP's pages.

For me, it seems to be useless to encode SRC attribute for those two tags since <html:form> and <html:link> encodes ACTION and PAGE attribute with session's ID.

In the third case (<html:img> standalone), I really don't understand why session's ID is added to image path ???

Can someone explain me the goal of this ?

Thanks a lot
Fabrice



Reply via email to