Change your ROOT index.jsp to redirect to the servlet. Or you can map ALL
ROOT requests to go to the servlet. Not sure the latter is something you
want.
On 6/19/06, Leonel [EMAIL PROTECTED] wrote:
Hello
I'm trying to make a Servlet act as a Index page
when I request the url
On 6/19/06, Marc Farrow [EMAIL PROTECTED] wrote:
Change your ROOT index.jsp to redirect to the servlet. Or you can map ALL
ROOT requests to go to the servlet. Not sure the latter is something you
want.
On 6/19/06, Leonel [EMAIL PROTECTED] wrote:
Hello
I'm trying to make a Servlet act
uses ROOT context as default.
--
Context path= docBase=yourapp debug=0/
Hope this helps.
Thanks,
RNS
-Original Message-
From: Leonel [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 2:09 PM
To: Tomcat Users List
Subject: Re: servlet as an index page ?
On 6/19/06
On 6/19/06, Saha Rabindra N [EMAIL PROTECTED] wrote:
Leonel,
Change the following line in tomcat/conf/server.xml file
!-- Tomcat Root Context --
!-- Changed the ROOT context to point to yourapp.
The following one line has been changed. Earlier it was commented out
On 6/19/06, Leonel [EMAIL PROTECTED] wrote:
I'm trying to make a Servlet act as a Index page
Suggestion: *read* the 2.4 Servlet Spec :-)
If you're not running a 2.4 webapp, forward from the welcome-file
of your choice...
HTH,
--
Hassan Schroeder [EMAIL PROTECTED]
On 6/19/06, Hassan Schroeder [EMAIL PROTECTED] wrote:
On 6/19/06, Leonel [EMAIL PROTECTED] wrote:
I'm trying to make a Servlet act as a Index page
Suggestion: *read* the 2.4 Servlet Spec :-)
Suggestion Accepted
info found on the page 85 of the 2.4 servlet spec
If you're not