If you make your index file a JSP you can redirect to your servlet by doing
this:

<%pageContext.getServletContext().getRequestDispatcher("/aservlet").forward(
request, response);%>

/René 

-----Original Message-----
From: Robert Wray
To: Tomcat Users List
Sent: 22-07-03 17:24
Subject: Re: Custom Homepage

You can redirect to your servlet by placing the following in your index
file:

meta http-equiv="refresh" content="0;
URL=http://www.asite.com/anapp/aservlet"/

(surrounded by "<" and ">")

At 01:23 PM 22/07/2003 +0600, you wrote:
>hi
>
>write a xml file in the webapps dir of tomcat for ur custom page as
done in
>the axis installation.
>
>regards
>thaya
>----- Original Message -----
>From: "Me" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Tuesday, July 22, 2003 4:23 AM
>Subject: Custom Homepage
>
>
> > I installed tomcat yesterday and i am totally confused about its
config
> > files. i am trying to change the default homepage so that tomcat
calls a
> > servlet in the preconfigured servet directory instead of the
index.jsp
>page.
> > Is it possible
> >                        Thanks in advance
> >                                A tomcat newbie
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to