i suppose that a welcome page should be renamed as Index.jsp and the same
should be made availabel in public_html folder.
> ----------
> From: Stefano Andreani[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list about Java Server Pages specification and
> reference
> Sent: Monday, July 10, 2000 12:35 AM
> To: [EMAIL PROTECTED]
> Subject: Jsp welcome file
>
> I would like to set the http://localhost:8000/myapp/Main.jsp url as
> welcome
> file, but
> I can't configure J2EE SDK 1.2.1 to read a jsp file as welcome file: if I
> request to my browser the address http://localhost:8000/myapp/ the browser
> shows the following error:
>
> Error: 500
>
> /_0005c_0005cMain_0002ejspMain_jsp_5 (wrong name:
> _0005c_0005cMain_0002ejspMain_jsp_5)
>
> And the stack trace is:
> java.lang.NoClassDefFoundError: /_0005c_0005cMain_0002ejspMain_jsp_6
> (wrong
> name: _0005c_0005cMain_0002ejspMain_jsp_6)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:442)
> at org.apache.jasper.runtime.JspLoader.defClass(JspLoader.java:242)
>
>
> But if I explicitly request the url http://localhost:8000/myapp/Main.jsp
> the
> page is processed and appears without any problem.
>
> This is an abstract of my deployment descriptor:
>
> <web-app>
> ...
> <servlet>
> <servlet-name>webTierEntryPoint</servlet-name>
> <display-name>mainJsp</display-name>
> <description>central point of entry for the Web app</description>
> <jsp-file>/Main.jsp</jsp-file>
> </servlet>
> <servlet-mapping>
> <servlet-name>webTierEntryPoint</servlet-name>
> <url-pattern>/Main.jsp</url-pattern>
> </servlet-mapping>
> ...
> <welcome-file-list>
> <welcome-file>/Main.jsp</welcome-file>
> </welcome-file-list>
> ...
> </web-app>
>
> Thanks to all!
> Stefano.
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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