Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322069 - Remove JSP servlet-mapping from web.xml
Summary: Remove JSP servlet-mapping from web.xml
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Libra (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-08 05:27 EDT by Rüdiger Herrmann CLA
Modified: 2022-02-24 11:24 EST (History)
0 users

See Also:


Attachments

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