Hi Alex,
I've finally discovered why the jsessionid appended to the
html:rewrites, links, and images was breaking my app.
As it turns out, the apache-tomcat connectors were configured to handle
anything going to /WEB-INF, *.do, *.jsp. Unfortunately, jsessionid is
handled properly only via t
9:03 AM
> To: Struts Users Mailing List
> Subject: Re: Has anybody experienced this weirdness with taglibs?
>
> 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 appen
OTECTED] On Behalf
Of Aladin Alaily
Sent: Thursday, November 17, 2005 9:03 AM
To: Struts Users Mailing List
Subject: Re: Has anybody experienced this weirdness with taglibs?
Hmmm... that's interesting.
It looks as though I have no control on whether or not the SID is
appended. The first time my
Your web server is appending the SID to the images (and would to other
links to the same webapp in the page) to track sessions, and is a
common technique used by webservers to support sessions when browser
clients don't support cookies.
I'm a little fuzzy on how exactly this works because it "Just
I think this "problem" resides in the rewrite of the URL that Struts
makes.
Each time an URL is encountered (or an action path, or something similar)
an URL rewrite happens.
Now, if there is no session cookie activated (I mean in the HTTP-request),
or cookies are disabled, then it appends the SID a
Aladin,
I'm no expert so I can't tell exactly what's wrong
from what you're saying. Have u ripped out those url's
to the images (with and without SID) and just tried
them in a browser direct? Make sure it can find them
and see if it serves them up in both cases. If it
can't find them with a SID at
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
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
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 Al
That's normal. What's wrong with that?
--- Aladin Alaily <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using and tags but when
> they are evaluated a
> jsessionid is appended:
>
> Image Example:
> --
> />
>
> GIVES
>
>
src="/images/x.gif;jsessionid=1F69046A7709D30FD9AC36FC6E8A433
Hi,
I am using and tags but when they are evaluated a
jsessionid is appended:
Image Example:
--
GIVES
height="10" width="1">
Link Example:
-
" rel="stylesheet"
type="text/css">
GIVES
rel="stylesheet" type="text/css">
Has anyone experienced this before? If
11 matches
Mail list logo