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

Bug 356141

Summary: The contents of web.xml is not correct if no RUIHandler is configured in the DD file
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch none

Description fahua jin CLA 2011-08-29 23:01:47 EDT
Build Identifier: 20110830

If no RUIHandler is configured in the DD file, then the following content should not be copied in the web.xml.

  <servlet-mapping>
    <servlet-name>EglProxyServlet</servlet-name>
    <url-pattern>/___proxy</url-pattern>
  </servlet-mapping>

Reproducible: Always

Steps to Reproduce:
Notes: Please use the P2 nightly build to reproduce the problem.

1. Please refer to the steps in bug 356140, and make sure the EglProxyServlet is not existed in the web.xml.
Comment 1 Yun Feng Ma CLA 2011-09-06 01:27:21 EDT
Created attachment 202778 [details]
Patch

Here is a patch. Please review. Thanks.
Comment 2 Huang Ji Yong CLA 2011-09-06 01:55:58 EDT
Code committed
Comment 3 Yun Feng Ma CLA 2011-09-06 02:00:14 EDT
Thanks. Mark this as Resolved.
Comment 4 fahua jin CLA 2011-09-19 02:37:41 EDT
(In reply to comment #3)
> Thanks. Mark this as Resolved.

Verified in 0.7.0.v201109172101.