Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using AbstractHandler to filter Servlet requests

 
Peter van Nes
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic