I’d like to catch a specific url pattern and forward to a single static page. So if I see any of the following:
http://www.example.com/students?name=bob
http://www.example.com/students?name=mary
...
then I’d like to forward to a static page like:
http://www.example.com/studentsTemporaryPage.jsp
Is there something I can add to my web.xml file to redirect any of the above patterns (where the parameter names at the change can vary) to my static page?
I’m using google app engine (java), but think it might be the same for any servlet-based server?
Thank you
Create a forward servlet:
then map it to
/students