Thanks - Tried that already, though, doesn't appear to help. My best solution
at the moment is a workaround - I put my component JSPs in a subdirectory, and
restrict access to this directory - they are only accessed by includes in the
'main' JSP.


> Try changing your url-pattern to "/*.jsp"...
>
> Thanks,
> Ozzie Gurkan
>
> --- Trond Nilsen <[EMAIL PROTECTED]> wrote:
> > 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?



Reply via email to