RE: URL mangling

2007-08-23 Thread Hehl, Thomas
Aha! Yes I am. Kinda makes sense that would be it. Thanks so much for
thinking deep enough to ask the question.

I'm already forwarding everything that starts with my servlet. I coded all
JSPs to use relative paths. Can I tell mod_jk to forward everything with a
relative path to tomcat as well?



-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 22, 2007 9:10 PM
To: Tomcat Users List
Subject: RE: URL mangling

Yes, it should.
Are you running tomcat behind Apache HTTPD or another web server to
serve up static content?






On Wed, 2007-08-22 at 09:17, Hehl, Thomas wrote:
 /*
 
 Shouldn't that get everything? I have a debug at the beginning of doFilter
 that prints out the request and I only get the original one, nothing for
the
 images and stuff.
 
 
 -Original Message-
 From: Ben Souther [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 22, 2007 9:03 AM
 To: Tomcat Users List
 Subject: Re: URL mangling
 
  So now I'm trying to see if there's a way to mangle these urls
dynamically
  on the security server instead so that I can use the same JSP for
  everything. I tried using a filter, but that works ONLY for the actual
  request itself. Filters evidently don't see requests for images or
  stylesheets, etc.
  
 
 Filters see whatever their mappings tell them to see.
 The url-mapping for filters works the same way as it does for servlets.
 What mapping are you using?
 
 
 
 
 
 
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL mangling

2007-08-23 Thread Ben Souther
Probably, I haven't done a lot of work with connectors.

Maybe a better question at this point is, if you're going to pass
everything to Tomcat anyway, is there still a benefit to using Apache
HTTPD as a front end?   Tomcat and the JVM have both made huge strides
in performance over the last few years and many of us are running full
fledged commercial apps with Tomcat running as a standalone.



On Thu, 2007-08-23 at 07:58, Hehl, Thomas wrote:
 Aha! Yes I am. Kinda makes sense that would be it. Thanks so much for
 thinking deep enough to ask the question.
 
 I'm already forwarding everything that starts with my servlet. I coded all
 JSPs to use relative paths. Can I tell mod_jk to forward everything with a
 relative path to tomcat as well?
 
 
 
 -Original Message-
 From: Ben Souther [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 22, 2007 9:10 PM
 To: Tomcat Users List
 Subject: RE: URL mangling
 
 Yes, it should.
 Are you running tomcat behind Apache HTTPD or another web server to
 serve up static content?
 
 
 
 
 
 
 On Wed, 2007-08-22 at 09:17, Hehl, Thomas wrote:
  /*
  
  Shouldn't that get everything? I have a debug at the beginning of doFilter
  that prints out the request and I only get the original one, nothing for
 the
  images and stuff.
  
  
  -Original Message-
  From: Ben Souther [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, August 22, 2007 9:03 AM
  To: Tomcat Users List
  Subject: Re: URL mangling
  
   So now I'm trying to see if there's a way to mangle these urls
 dynamically
   on the security server instead so that I can use the same JSP for
   everything. I tried using a filter, but that works ONLY for the actual
   request itself. Filters evidently don't see requests for images or
   stylesheets, etc.
   
  
  Filters see whatever their mappings tell them to see.
  The url-mapping for filters works the same way as it does for servlets.
  What mapping are you using?
  
  
  
  
  
  
  
  
  
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL mangling

2007-08-23 Thread Hehl, Thomas
The benefit is the client is already doing it this way and wants us to it
the same. The realities of the IT world.

Alas...

-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 8:23 AM
To: Tomcat Users List
Subject: RE: URL mangling

Probably, I haven't done a lot of work with connectors.

Maybe a better question at this point is, if you're going to pass
everything to Tomcat anyway, is there still a benefit to using Apache
HTTPD as a front end?   Tomcat and the JVM have both made huge strides
in performance over the last few years and many of us are running full
fledged commercial apps with Tomcat running as a standalone.



On Thu, 2007-08-23 at 07:58, Hehl, Thomas wrote:
 Aha! Yes I am. Kinda makes sense that would be it. Thanks so much for
 thinking deep enough to ask the question.
 
 I'm already forwarding everything that starts with my servlet. I coded all
 JSPs to use relative paths. Can I tell mod_jk to forward everything with a
 relative path to tomcat as well?
 
 
 
 -Original Message-
 From: Ben Souther [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 22, 2007 9:10 PM
 To: Tomcat Users List
 Subject: RE: URL mangling
 
 Yes, it should.
 Are you running tomcat behind Apache HTTPD or another web server to
 serve up static content?
 
 
 
 
 
 
 On Wed, 2007-08-22 at 09:17, Hehl, Thomas wrote:
  /*
  
  Shouldn't that get everything? I have a debug at the beginning of
doFilter
  that prints out the request and I only get the original one, nothing for
 the
  images and stuff.
  
  
  -Original Message-
  From: Ben Souther [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, August 22, 2007 9:03 AM
  To: Tomcat Users List
  Subject: Re: URL mangling
  
   So now I'm trying to see if there's a way to mangle these urls
 dynamically
   on the security server instead so that I can use the same JSP for
   everything. I tried using a filter, but that works ONLY for the actual
   request itself. Filters evidently don't see requests for images or
   stylesheets, etc.
   
  
  Filters see whatever their mappings tell them to see.
  The url-mapping for filters works the same way as it does for servlets.
  What mapping are you using?
  
  
  
  
  
  
  
  
  
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: URL mangling

2007-08-22 Thread Ben Souther
 So now I'm trying to see if there's a way to mangle these urls dynamically
 on the security server instead so that I can use the same JSP for
 everything. I tried using a filter, but that works ONLY for the actual
 request itself. Filters evidently don't see requests for images or
 stylesheets, etc.
 

Filters see whatever their mappings tell them to see.
The url-mapping for filters works the same way as it does for servlets.
What mapping are you using?









-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL mangling

2007-08-22 Thread Hehl, Thomas
/*

Shouldn't that get everything? I have a debug at the beginning of doFilter
that prints out the request and I only get the original one, nothing for the
images and stuff.


-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 22, 2007 9:03 AM
To: Tomcat Users List
Subject: Re: URL mangling

 So now I'm trying to see if there's a way to mangle these urls dynamically
 on the security server instead so that I can use the same JSP for
 everything. I tried using a filter, but that works ONLY for the actual
 request itself. Filters evidently don't see requests for images or
 stylesheets, etc.
 

Filters see whatever their mappings tell them to see.
The url-mapping for filters works the same way as it does for servlets.
What mapping are you using?









-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: URL mangling

2007-08-22 Thread Ben Souther
Yes, it should.
Are you running tomcat behind Apache HTTPD or another web server to
serve up static content?






On Wed, 2007-08-22 at 09:17, Hehl, Thomas wrote:
 /*
 
 Shouldn't that get everything? I have a debug at the beginning of doFilter
 that prints out the request and I only get the original one, nothing for the
 images and stuff.
 
 
 -Original Message-
 From: Ben Souther [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 22, 2007 9:03 AM
 To: Tomcat Users List
 Subject: Re: URL mangling
 
  So now I'm trying to see if there's a way to mangle these urls dynamically
  on the security server instead so that I can use the same JSP for
  everything. I tried using a filter, but that works ONLY for the actual
  request itself. Filters evidently don't see requests for images or
  stylesheets, etc.
  
 
 Filters see whatever their mappings tell them to see.
 The url-mapping for filters works the same way as it does for servlets.
 What mapping are you using?
 
 
 
 
 
 
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]