to a welcome file unless it shows up in the
directory. But once you map the servlet to the same URL, the servlet
will intercept the request.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 02, 2005 9:25 AM
To: Tomcat Users List
Subject: Re: servlet
in the
directory. But once you map the servlet to the same URL, the servlet
will intercept the request.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 02, 2005 9:25 AM
To: Tomcat Users List
Subject: Re: servlet mapping and url
Hi,
I don't think there is any
you can configure your web.xml file and make index.jsp
file as an welcome file using,
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
now, create index.jsp file which will simply forward
the request to your servlet!
Rgds,
Hardik
--- s s [EMAIL PROTECTED]
Hi,
I don't think there is any restriction to mapping a servlet to a welcome
page:
servlet
servlet-nameMyServlet/servlet-name
servlet-classcom.company.app.MyServlet/servlet-class
/servlet
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/myServlet/url-pattern
/servlet-mapping