In the web.xml of your webapp, you can specify the "welcome-file" which is
an XML Tag for the webapp description.

-----Message d'origine-----
De : Turner, John [mailto:[EMAIL PROTECTED]]
Envoy� : mercredi 11 septembre 2002 14:15
� : 'Tomcat Users List'
Objet : RE: How do I change the default loaded web page?



Two ways:

1) just put in a meta refresh tag in index.html pointing to main.jsp with a
refresh of "0".  That's the crude way.

2) the "right" way is to check out the welcome-page element of web.xml.

John


> -----Original Message-----
> From: Ryan Lim [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 7:28 PM
> To: [EMAIL PROTECTED]
> Subject: How do I change the default loaded web page?
>
>
> I just installed tomcat 4 and am currently writing a few jsp
> pages.  Currently the default page that is always loaded by
> tomcat is index.html.  However I want to have a jsp page
> loaded by default.  For instance, I always want the webserver
> to load up main.jsp when I access tomcat in my web browser.
> How would I go about doing this?
>
> Thanks
> Ryan
>

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



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

Reply via email to