I have a problem that I do not know if it is possible to solve. I want to be able to have virtual pages in my application. What is a virtual page?
I would like the following to happen.
If the user types the following url: http://www.something.se/english/ I want the following to happen. That page does not exist. I whant to be able to redirect a request to a non existing page to for example http://www.something.se/fixit.jsp. This page shall detect the url the user have typed in. It will parse the url and find out that it is the english version of the site that is to be loaded. Then it will forward to the actual page, for example http://www.something.se/index.jsp?id=english. If the user types in http://www.something.se/german/ it shall forward to http://www.something.se/index.jsp?id=german.
Is this possible to do?
How do I configure Jetty to make this happen?
Can I define my own page that is called when a request to a non existing page is done?
What I would like to achieve is to be able to add new language versions of my site without having to do any reconfiguration on the server.
please post on the jetty/catalina mailing list; the question is not JBoss related!