This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using AbstractHandler to filter Servlet requests  RSS feed

 
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
Boost this thread!