Hmmm... that's interesting.

It looks as though I have no control on whether or not the SID is
appended.  The first time my page is loaded, the SID is appended and the
images & links don't resolve.  If I reload the page, the SID are removed
and everything resolves.

I am using Tomcat 5.5.12 and the following jars & tlds:

struts-1.2.7.jar
commons-beanutils-1.7.0.jar
commons-collections-3.1.jar
commons-digester-1.7.jar
commons-logging-api-1.0.4.jar
standard-1.1.2.jar

servlet-api.jar -> Tomcat's
jsp-api.jar     -> Tomcat's

struts-bean-1.1.tld
struts-html-1.1.tld
struts-logic-1.1.tld
struts-nested-1.1.tld
c-1.1.2.tld


Aladin


> It works for me.
>
> I would guess that this is pretty standard HTTP to be
> honest. It should resolve the images by stripping off
> any unnecessary SID info' etc, if you don't use it for
> security checking for example. I thought that the
> requests for images are exactly the same as a request
> for any other resource, ie, a standard HTTP request
> and therefore the SID is appended unless you
> explicitly turn it off. Your web server should
> resoplve the path of the url whether or not there is a
> SID attached.
>
> --- Aladin Alaily <[EMAIL PROTECTED]> wrote:
>
>> That's not normal...  If you add the semi-colon and
>> the jsessionid to an
>> image src, then the image is not going to resolve
>> properly.  That's the
>> behaviour that I'm noticing - with the jsessionid,
>> the links & images
>> don't resolve.
>>
>> Aladin
>>
>>
>>
>> > That's normal. What's wrong with that?
>> >
>> > --- Aladin Alaily <[EMAIL PROTECTED]> wrote:
>> >
>> >> Hi,
>> >>
>> >> I am using <html:img> and <html:link> tags but
>> when
>> >> they are evaluated a
>> >> jsessionid is appended:
>> >>
>> >> Image Example:
>> >> --------------
>> >> <html:img page="/images/x.gif" height="10"
>> width="1"
>> >> />
>> >>
>> >> GIVES
>> >>
>> >> <img
>> >>
>> >
>>
> src="/images/x.gif;jsessionid=1F69046A7709D30FD9AC36FC6E8A4336"
>> >>
>> >> height="10" width="1">
>> >>
>> >> Link Example:
>> >> -------------
>> >> <link href="<html:rewrite page="/css/styles.css"
>> />"
>> >> rel="stylesheet"
>> >> type="text/css">
>> >>
>> >> GIVES
>> >>
>> >> <link
>> >>
>> >
>>
> href="/css/styles.css;jsessionid=1F69046A7709D30FD9AC36FC6E8A4336"
>> >>
>> >> rel="stylesheet" type="text/css">
>> >>
>> >> Has anyone experienced this before?  If so, how
>> did
>> >> you fix this problem.
>> >>
>> >> I am using struts 1.7
>> >>
>> >> Thanks.
>> >> Aladin
>> >>
>> >>
>> >
>>
> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail:
>> >> [EMAIL PROTECTED]
>> >> For additional commands, e-mail:
>> >> [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
> ___________________________________________________________
>> > Yahoo! Messenger - NEW crystal clear PC to PC
>> calling worldwide with
>> > voicemail http://uk.messenger.yahoo.com
>> >
>> >
>>
> ---------------------------------------------------------------------
>> > 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]
>>
>>
>
>
>
>
>
>
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with
> voicemail http://uk.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> 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