aspose file tools*
The moose likes Servlets and the fly likes Using AbstractHandler to filter Servlet requests Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using AbstractHandler to filter Servlet requests" Watch "Using AbstractHandler to filter Servlet requests" New topic
Author

Using AbstractHandler to filter Servlet requests

Peter van Nes
Greenhorn

Joined: Jun 09, 2010
Posts: 23
Hi,

I am current developing a small servlet based on Jetty 8. In this j2ee application i want to filter the request parameters and do specific actions on them.
Currently i have an abstractHandler assigned to the server which works fine, the only thing i do not known how to write is to forward the request to the servlet.


Peter van Nes
Greenhorn

Joined: Jun 09, 2010
Posts: 23

Just forget this question of me. Assumed (…) that the AbstractHandler was calling the servlet.
Now created a handlerCollection with a ServletContextHandler and a ContextHandler.

Cheers,
Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using AbstractHandler to filter Servlet requests