If I have alot of jsp pages this method would mean alot of entries in
the web.xml file. Isn't there another way?

----- Original Message -----
From: "Scott Walter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 8:59 AM
Subject: Re: Hidding .jsp files


> Look into the web.xml file.  Since a JSP page is a
> servlet, you can setup a <servlet> tag for the JSP
> page (instead of specifiying servlet-class, use
> jsp-file).  You will then create a <servlet-mapping>
> to specify the url to listen on.
>
> scott.
> --- Mikkel Bruun <[EMAIL PROTECTED]> wrote:
> > Hi Guys,
> >
> > Is it possible to make some sort of virtual path,
> > enabling one to hide the
> > actual .jsp pages???
> >
> > Example,
> >
> > i want to avoid a link like /logon/logonform.jsp
> > replacing it with perhaps /logon (which in turn will
> > point to
> > /logon/logonform.jsp)
> >
> > I tried looking at the globalforwards, but i find
> > the documentation quite
> > lacking (there's an error in the code, btw)...but is
> > this how its done???
> >
> > Another solution would be to make "empty" action
> > classes that just returns
> > the succes mapping, but that would be going over the
> > top imho...
> >
> >
> > Can anybody give an answer???
> >
> > thanks
> > Mikkel Bruun
> >
> >
>
>
> =====
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Scott
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

Reply via email to