Bug 167285 - [Launch] Can only launch pages with ".jsp" extension through FacesServlet
Summary: [Launch] Can only launch pages with ".jsp" extension through FacesServlet
Status: CLOSED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 RC0   Edit
Assignee: Gerry Kessler CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-12-08 15:02 EST by Ian Trimble CLA
Modified: 2008-05-09 11:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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