Btw, Kris - I just had to make use of this code that you provided, and
it works perfectly. Sweet!
Kris Schneider wrote:
If you can accomplish what you want via Apache rewrite rules, that seems like a
simpler solution. If that doesn't work out, here's a JSP/JSTL equivalent of how
comes up with t
Craig R. McClanahan wrote:
Ruth, Brice wrote:
Seems strange that a rule would be set that breaks IETF standards,
doesn't it? Or am I seeing this totally wrong?
In IETF standards terms, the session identifier is a *path* parameter,
not a *query* parameter. Such parameters can actually be added
Craig R. McClanahan wrote:
Don't blame Tomcat's JK or JK2 connectors on me! I don't have
anything to do with them :-).
I've only ever been interested in the standalone Tomcat code (and, for
work, the way that Tomcat gets integrated into Sun's web server and
app server products). In all of th
James Mitchell wrote:
You know, in light of the fact that it may be standard and to the spec,
it's funny that most of the servlet containers that I use (Tomcat,
Resin, Jetty) don't recognize their own rewritten urls.
To me, that's just unacceptable.
Don't blame Tomcat's JK or JK2 connectors on
Ruth, Brice wrote:
Saul Q Yuan wrote:
-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 9:32 AM
To: Struts Users Mailing List
Subject: Re: how to disable (or work around) jsessionid in html:img
sources
James Mitchell wrote:
A bit of
List
> Subject: Re: how to disable (or work around) jsessionid in
> html:img sources
>
>
> The HTTP/1.0 spec defines a URI as:
>
> ...
> rel_path = [ path ] [ ";" params ] [ "?" query ]
> ...
>
> The Servlet spec states:
>
> The
ailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 9:32 AM
To: Struts Users Mailing List
Subject: Re: how to disable (or work around) jsessionid in html:img
sources
James Mitchell wrote:
A bit of history on this subject:
* From: Craig R. McClanahan
* Subject: Re: Why would jsessi
EMAIL PROTECTED]>:
> Saul Q Yuan wrote:
>
> >>-Original Message-
> >>From: Ruth, Brice [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, October 23, 2003 9:32 AM
> >>To: Struts Users Mailing List
> >>Subject: Re: how to di
> -Original Message-
> From: Ruth, Brice [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 11:27 AM
> To: Struts Users Mailing List
> Subject: Re: how to disable (or work around) jsessionid in html:img
> sources
>
> Saul Q Yuan wrote:
>
Saul Q Yuan wrote:
-Original Message-
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 9:32 AM
To: Struts Users Mailing List
Subject: Re: how to disable (or work around) jsessionid in html:img
sources
James Mitchell wrote:
A bit of history on this subject
Bizarre ... dunno what's up with my config, then. Not a biggie, I guess
- my workaround still works, I guess. I just wanted to use this because
I was using a scriptlet to generate some *very* dynamic code and got
into a situation where I couldn't use because it'd be
nested within an tag (in a
> -Original Message-
> From: Ruth, Brice [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 9:32 AM
> To: Struts Users Mailing List
> Subject: Re: how to disable (or work around) jsessionid in html:img
> sources
>
> James Mitchell wrote:
>
> >
If it's any consolation, I just tried the original JSP-only code I posted with
TC 4.1.24 and it worked fine...
Quoting "Ruth, Brice" <[EMAIL PROTECTED]>:
> James Mitchell wrote:
>
> >A bit of history on this subject:
> >
> > * From: Craig R. McClanahan
> > * Subject: Re: Why would jsessionid not
James Mitchell wrote:
A bit of history on this subject:
* From: Craig R. McClanahan
* Subject: Re: Why would jsessionid not appear?
* Date: Wed, 08 Aug 2001 12:09:26 -0700
The jsessionid path parameter will only be added if the servlet
container
does not know whether your client supports cookie
A bit of history on this subject:
* From: Craig R. McClanahan
* Subject: Re: Why would jsessionid not appear?
* Date: Wed, 08 Aug 2001 12:09:26 -0700
The jsessionid path parameter will only be added if the servlet
container
does not know whether your client supports cookies. How Tomcat handl
I haven't actually run the code, but I don't see what the issue would
be. If you run:
javap -classpath /path/to/struts.jar org.apache.struts.Globals
You should get something like:
Compiled from "Globals.java"
public class org.apache.struts.Globals extends java.lang.Object
implements java.io.Se
I tried this and got a JSP compile error that MODULE_KEY in
org.apache.struts.Globals couldn't be resolved ...
org.apache.struts.Globals _jspx_th_c_rt_set_0.setValue(
Globals.MODULE_KEY ); ^ 1 error
?!
Kris Schneider wrote:
If you can accomplish what you want via Apache rewrite rules, that se
If you can accomplish what you want via Apache rewrite rules, that seems like a
simpler solution. If that doesn't work out, here's a JSP/JSTL equivalent of how
comes up with the module path:
<%@ page import="org.apache.struts.Globals" %>
<%@ taglib prefix="c"uri="http://java.sun.com/jstl/core
Maybe you can try, But I think the impacts is all pages send to apache
then all virtualhosts defiend by the mod_jk.
Ruth, Brice a écrit :
Is this
something I can do at a global level, so that it impacts all
virtualhosts defined by the mod_jk auto configuration file generated by
Tomcat's connec
Is this something I can do at a global level, so that it impacts all
virtualhosts defined by the mod_jk auto configuration file generated by
Tomcat's connector?
dutrieux wrote:
Hello
For Apache v3.x you need to put in "httpd.conf" file this entry :
RewriteRule ^(.*);jsessionid=.*$ $1 [L]
Bes
Hello
For Apache v3.x you need to put in "httpd.conf" file this entry :
RewriteRule ^(.*);jsessionid=.*$ $1 [L]
Best regards
Olivier Dutrieux
*
*
Ruth, Brice a écrit :
Ruth, Brice wrote:
Hi. I'm using html:img in certain tiles that are used from very
different places in my application with th
Ruth, Brice wrote:
Hi. I'm using html:img in certain tiles that are used from very
different places in my application with the "page" attribute to take
advantage of module-relative naming for the image sources. However,
when cookies aren't enabled, or on the first visit to the web
application
Hi. I'm using html:img in certain tiles that are used from very
different places in my application with the "page" attribute to take
advantage of module-relative naming for the image sources. However, when
cookies aren't enabled, or on the first visit to the web application
(with no session coo
23 matches
Mail list logo