This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes intercepting URL before it gets to Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

intercepting URL before it gets to Servlet

Alexey Gor
Greenhorn

Joined: Jul 13, 2004
Posts: 27
Hello,

Is there a way to intercept and change a URL before it gets to Servlet? I want to make changes to it before Tomcat maps it to Context/Servlet.

URL rewriting sounds like the right thing, but all resources only talk about tracking sessions using it.

Should I use a filter? It seems there are no methods for changing the request URL... Any info is appreciated. Please help.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63195
    
  69

Please do not post the same question more than once.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: intercepting URL before it gets to Servlet
 
It's not a secret anymore!