Technote (troubleshooting)
Problem(Abstract)
Attempts to use .jsp as param-value for the javax.faces.DEFAULT_SUFFIX and *.jsp as url-pattern for the extension mapping in the web.xml file for a JSF 1.1 or 1.2 project in IBM Rational Application Developer for WebSphere Software results in a loop in the Faces Servlet and fails to display the JSF pages.
Cause
The web.xml configuration is incorrect.
Resolving the problem
To keep the .jsp extension in the URL for the JSF pages, remove the following extension mapping from the web.xml file:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.