Will this in anyway affect the mapping in the struts-config.xml file ?


-----Original Message-----
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 9:00 AM
To: [EMAIL PROTECTED]
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