Why would appending the session ID to the URL prevent Apache from
passing the request to Jrun? Sounds like an Apache mis-configuration to
me. I don't know how you configure Apache to 'recognise [something] as a
jrun file' but that's what you need to be looking at.
L.
Zoran Avtarovski wrote:
I'm hoping someone here can help me with this.
I'm getting inconsistency on this issue and googling hasn't helped.
I'm running a struts app on OS X with Jrun 4 and Apache 2. When I use
<c:redirect url="/general/getInfo.do" /> in the index.jsp file it appends
the jsessionid to it and apache doesn't recognise the file as a jrun file
and returns a 404 error. When I deploy the same app on Linux using the same
version of Jrun and Java it works fine.
The work around I'm using is to use
<%
String redirectURL = "/general/getInfo.do";
response.sendRedirect(redirectURL);
%>
Instead of
<c:redirect url="/general/getInfo.do" />
Which solves the problem by not URL encoding the link, but if somebody had
cookies disabled it the jsessionid would return and the problem is back
again.
When searching I've seen a lot of people experiencing the same problem with
apache and jsessionid but no solutions, apart from URL rewriting which I
don't think is any better than what I've got.
Has anybody had any experience with this and if so any pointers.
Zoran
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]