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

Bug 322069

Summary: Remove JSP servlet-mapping from web.xml
Product: z_Archived Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: LibraAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2010-08-08 05:27:26 EDT
I would suggest to remove the servlet-mapping for JSPs from the web.xml that is generated by default when creating a new WAR product.

	<!-- This is required if your application bundles expose JSPs. -->	
	<servlet-mapping>
		<servlet-name>equinoxbridgeservlet</servlet-name>
		<url-pattern>*.jsp</url-pattern>
	</servlet-mapping>		

Even though there might be users that whish to create JSPs, there is more to it than the bare servlet-ampping (bundles to support JSP, etc).
Comment 1 Holger Staudacher CLA 2010-08-08 08:13:49 EDT
Fixed in CVS HEAD: