RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Peter Kennard
Thanks - I assume any way you want would include the port? I'll have to dive more into Filters. At 01:15 3/13/2007, you wrote: From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: Can one map a servlet to a specific connctor? On a stand alone tomcat with more than one connector (port

RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Peter Kennard
Damn! I missed that :) Thanks. I assume this is taking it from where the hit arrives in at the server and not the HTTP headers passed in (which could be anything) At 01:32 3/13/2007, you wrote: From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: Re: Can one map a servlet to a specific

RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Peter Kennard
wrote: Damn! I missed that :) Thanks. I assume this is taking it from where the hit arrives in at the server and not the HTTP headers passed in (which could be anything) At 01:32 3/13/2007, you wrote: From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: Re: Can one map a servlet

RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Caldarale, Charles R
From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: RE: Can one map a servlet to a specific connctor? I Verified this returns the port indicated by the client in the header. You could configure proxyPort in your Connector to some value that you could use as a flag for your particular

RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Subject: RE: Can one map a servlet to a specific connctor? Try ServletRequest.getLocalPort() rather than getServerPort(). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only

RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Peter Kennard
This could be the ticket! At 11:53 3/13/2007, you wrote: You could configure proxyPort in your Connector to some value that you could use as a flag for your particular environment. This will override the header value returned by getServerPort(). Don't know if there would be any undesirable

RE: Can one map a servlet to a specific connctor?

2007-03-13 Thread Peter Kennard
:[EMAIL PROTECTED] Subject: RE: Can one map a servlet to a specific connctor? Try ServletRequest.getLocalPort() rather than getServerPort(). - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Can one map a servlet to a specific connctor?

2007-03-12 Thread Peter Kennard
On a stand alone tomcat with more than one connector (port) Is it possible to map a servlet to only one or a subset of connectors? Thanks PK - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

RE: Can one map a servlet to a specific connctor?

2007-03-12 Thread Caldarale, Charles R
From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: Can one map a servlet to a specific connctor? On a stand alone tomcat with more than one connector (port) Is it possible to map a servlet to only one or a subset of connectors? No, but you can use a filter or valve to restrict access

Re: Can one map a servlet to a specific connctor?

2007-03-12 Thread Peter Kennard
I guess a corrollary question to this would be. Can I determine the connector port connected to for a request from service() I don't see it in the servlet API but am willing to access somthing tomcat specific. PK At 21:57 3/12/2007, you wrote: On a stand alone tomcat with more than one

RE: Can one map a servlet to a specific connctor?

2007-03-12 Thread Caldarale, Charles R
From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: Re: Can one map a servlet to a specific connctor? Can I determine the connector port connected to for a request from service() I don't see it in the servlet API but am willing to access somthing tomcat specific