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)
Is
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
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
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
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
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
:[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
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
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
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
10 matches
Mail list logo