This content has been marked as final.
Show 2 replies
-
1. Re: How to load all JSP pages when start up the JBoss.
jonlee Apr 26, 2004 8:37 AM (in response to ourai)The J2EE compliant way is the following in the application's web.xml:
<servlet> <servlet-name>HOMEJSP</servlet-name> <jsp-file>/home.jsp</jsp-file> <load-on-startup>3</load-on-startup> </servlet> <servlet-mapping> <servlet-name>HOMEJSP</servlet-name> <url-pattern>/home.jsp</url-pattern> </servlet-mapping>
Otherwise convert the JSPs to servlets and add the appropriate mappings in the web.xml. -
2. Re: How to load all JSP pages when start up the JBoss.
ourai Apr 27, 2004 1:41 AM (in response to ourai)Thanks. It's running well !