Re: servlet as an index page ?

2006-06-19 Thread Marc Farrow
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

Re: servlet as an index page ?

2006-06-19 Thread Leonel
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

RE: servlet as an index page ?

2006-06-19 Thread Saha Rabindra N
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

Re: servlet as an index page ?

2006-06-19 Thread Leonel
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

Re: servlet as an index page ?

2006-06-19 Thread Hassan Schroeder
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]

Re: servlet as an index page ?

2006-06-19 Thread Leonel
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