Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 167285

Summary: [Launch] Can only launch pages with ".jsp" extension through FacesServlet
Product: [WebTools] Java Server Faces Reporter: Ian Trimble <ian.trimble>
Component: CoreAssignee: Gerry Kessler <gerry.kessler>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 Keywords: helpwanted
Version: 2.0   
Target Milestone: 2.0 RC0   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Ian Trimble CLA 2006-12-08 15:02:25 EST
A page must have a ".jsp" extension in order for our launch delegate to pump it through FacesServlet.
Comment 1 Raghunathan Srinivasan CLA 2007-01-05 20:25:59 EST
Triaged for WP 2.0.
Comment 2 Gerry Kessler CLA 2007-04-18 11:54:40 EDT
fixed 4/18/07.

The resource's file extension is compared with the javax.faces.DEFAULT_SUFFIX context-param if set.   If the same, then extension mapping will be used if found in the web.xml.  If not set, "jsp" default is assumed.   If resource does not have the default file extension, then it must have either: jsp,jspx, or jsf file extensions in order to be considered for launch.  

This will not guarentee a page to be run.  The user will still need a properly configured server with valid URL mappings and context-params.
Comment 3 Ian Trimble CLA 2008-05-08 19:29:29 EDT
Verified 05/08/2008.
Comment 4 Gerry Kessler CLA 2008-05-09 11:50:10 EDT
closing