-
1. Re: Default page not found when precompiled
ironbird May 23, 2004 5:58 AM (in response to treespace)Your precompiled jsp page must be mapped as a servlet with a "/" as url-pattern.
Use <jsp-page> instead of <servlet-class> in the declaration. -
2. Re: Default page not found when precompiled
treespace May 23, 2004 5:25 PM (in response to treespace)To reiterate, JspC generates the mappings with the leading slash. That works fine except for the isolated problem with the welcome file. When compiled as a servlet, the welcome file no longer shows up by default. You have to exlicitly enter the name of the URL. I will try using <jsp-page> with that file but it is in fact a servlet now. Is this a known problem with entries in the welcome-file-list under tomcat?
-
3. Re: Default page not found when precompiled
treespace May 30, 2004 7:37 PM (in response to treespace)Found the problem.
You cannot use a Servlet in the welcome-file-list of web.xml.
This "flaw" is fixed in Tomcat 5.0 but 3.2.3 uses Tomcat 4.1. In 5.0 you can add the name of the servlet (not the mapping, the name) as a welcome file in your welcome file list. Meanwhile we will just leave that page as a loose JSP page. -
4. Re: Default page not found when precompiled
treespace May 31, 2004 1:15 PM (in response to treespace)Clarification: the "flaw" is of course fixed in the JSP specification 2.0 that TC 5.0 will use versus 1.2 currently in use. BTW, TC 5.0 is following the path JBoss took with JMX management. Looking forward to that release.