DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28527>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28527 Not able to execute the faces example Summary: Not able to execute the faces example Product: Tomcat 5 Version: 5.0.19 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I downloaded the example from http://java.sun.com/developer/EJTechTips/2004/tt0324.html#1. After I rebuilt the war file and deployed it, I tried to access the first values.jsp. I immediately got an error saying "could not access httP:/127.0.0.1:8080/<webapp>/faces/jsp/values.jsp. I couldn't find what the problem was. Here are the contents of the web.xml: <web-app> <context-param> <param-name>saveStateInClient</param-name> <param-value>false</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app> The faces-config.xml contains the following: <faces-config> <navigation-rule> <description> This rule defines the navigation for the view "values.jsp". </description> <from-view-id>/jsp/values.jsp</from-view-id> <navigation-case> <description> When the "values.jsp" form has valid values for all of its inputs, the command button on the form produces a "validated" event. In this case, the next view should be "valid.jsp". </description> <from-outcome>validated</from-outcome> <to-view-id>/jsp/valid.jsp</to-view-id> </navigation-case> </navigation-rule> <managed-bean> <managed-bean-name>data</managed-bean-name> <managed-bean-class>test.DataBean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> </faces-config> I examined the war file and jsp is present in the correct directory. Is this bug in this version of Tomcat? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]