add an index.html file in the root directory of ur application
or
add
<welcome-file>
            YourFile.html
</welcome-file>
in the web.xml file
YourFile.html should be in the root directory of ur application

> ----------
> From:         Rahman, Zahid[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list about Java Server Pages specification and
> reference
> Sent:         Friday, December 08, 2000 5:26 PM
> To:   [EMAIL PROTECTED]
> Subject:      JSP Initial file
>
> I am running tomcat 3.2  with apache.
>
> I have included the following code in the server.xml so that my directory
> containing the JSPs are called.
>
> <Context path="/projsp"
>                  docBase="webapps/projsp"
>                  crossContext="false"
>                  debug="0"
>                  reloadable="true" >
> </Context>
>
> The result is that all the files in the directory are displayed in the
> initial HTML page allowing the user to select one.
> I however want so that when the url address is http://localhost/projsp/
> then
> say e.g. the myhtml.HTML is displayed in the browser.
>
> Can any one please tell where the entry is on the xml page whether it is
> in
> the web.xml or server.xml or anywhere else and what is it ?
>
>
> Regards,
> Zahid
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to