2010/4/1 Karthik Nanjangude :
> I also have roughly 300+ similar pages across folder1 /folder 2
You will either need something to generate that web.xml for you,
or some person to type in those 300 mappings (if they are all different),
or use some Filter/Servlet that performs introspection of your
done ?
I also have roughly 300+ similar pages across folder1 /folder 2
Request - Responding
With regards
Karthik
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Thursday, April 01, 2010 12:51 AM
To: Tomcat Users List
Subject: Re: Hide JSP name using
2010/3/31 Karthik Nanjangude :
> Let us say I have
>
> http://domain.com/folder1/abcd.jsp ==> http://domain.com/folder1/
> http://domain.com/folder2/xyz.jsp ==> http://domain.com/folder2/
> (..)
You want to have requests to http://domain.com/folder1/ to be
processed by http://domain.com/folder1
hm, might be a bit of typo-work, but why not specify them in your
deployment-descriptor (aka web.xml)?
example (snippet):
SomeName
MyServlet
/WEB-INF/yourJSPFile.jsp
MyServlet
To: Tomcat Users List
Subject: Re: Hide JSP name using web.xml
do you want the other names to be default?
e.g. http://domain.com/folder/soepage.jsp ==> http://domain.com/folder/
if so, you can add soepage.jsp to the list of default pages in web.xml
On Wed, Mar 31, 2010 at 8:16 PM, Karthik Nanj
do you want the other names to be default?
e.g. http://domain.com/folder/soepage.jsp ==> http://domain.com/folder/
if so, you can add soepage.jsp to the list of default pages in web.xml
On Wed, Mar 31, 2010 at 8:16 PM, Karthik Nanjangude <
karthik.nanjang...@xius-bcgi.com> wrote:
> Hi
>
> SPEC
Hi
SPEC :
O/s UNIX / WIN2000 / Linux
JDK1.5
TOMCAT 5.0.20.0
Question: How to hide the name ( other then "index.jsp" ) of JSP in URL for
a web application ?
For a valid reason I have 5 jsp folders.
All 5 jsp folders Do NOT have index.jsp as primary folder but other names.
Any ideas plz ..