Hi back
That was not so clear.
What I would like to do is to get *all* http requests and manage them
trough another connector then the one that passes them to the filesystem.
Example: a http request comes and it's a GET /Test instead of trying to
fetch the local Test directory I want to redirect this to another
resource like a sql procedure or something else.
I think that it's possible to do this by creating the connector by
myself instead of creating it on the high level with createConnector
method of the Embedded class. Something like creating a HttpConnector
with an associated EventHanlder ?
Any tips ?
Any idea ?
Thanks in advance.
Eriam
Eriam Schaffter wrote:
Hi all.
I'm embedding tomcat in a java app using the Embedded class.
What I would like to do know is to use the http connector but I would
instantiate it by my own and not via the createConnector method so I
handle requests and responses in my program. The goal is to have a
connector that handles http request a bit differently then the one in
tomcat (redirect get request on another resource).
Any suggestions ?
Eriam
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]