Ideally you dont want session id's appeand to image paths it messes
with some browsers.. I got stung with this in my early days with
struts..

<c:url does the same.. 

${pageContent.request.contextPath} works for EL or trust old <%=
request.getRequest() %>

another option is to write a filter that strips the id off requests for images. 

Mark

On Fri, 12 Nov 2004 13:49:05 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> I think it will only be there until the Server has established a session
> cookie with the user's browser, unless the browser doesn't allow cookies
> (then it should always be there). I don't know of a reason why it will
> do any harm.
> 
> The behavior of the src and page attributes is the same with regard to
> this. I'm not sure if there is a way to turn it off for certain tags or
> whether that would be desired.
> 
> Erik
> 
> 
> 
> 
> Morales de Frķas wrote:
> 
> >Hello””
> >
> >a new question about images...
> >
> >if i write:
> >       <html:img page="" ....
> >
> >context is ok, but in html i will have something like
> >
> ><img 
> >src="/web_aunabill/img/bentrar.gif;jsessionid=4690574556F29D93A47E0C0ABEBCBAD7"....
> >
> >is it ok?
> >all my images must have session's id appended to its name??
> >
> >thanks in advance
> >
> >
> >
> 
> ---------------------------------------------------------------------
> 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