According to one of the FAQ's on www.jguru.com, I should be able to set up a
mapping in my web application such that all attempts to request a file ending
with .jsp are redirected to a file of my choice (main.jsp in this case). Below
is some code from the web.xml file which (I think) should give this effect.
<servlet>
<servlet-name>AdminEntryPoint</servlet-name>
<jsp-file>main.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>AdminEntryPoint</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
I've successfully done this for files that start with some pattern (such as
kb* or something similar), but it doesn't appear to work with filename
endings. Has anyone encountered this before? Is it a problem with Orion,
something I'm doing wrong, or perhaps the faq is wrong?
Trond.