[
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710765#action_12710765
]
Ashish Jain commented on GERONIMODEVTOOLS-572:
----------------------------------------------
As I understand web.xml is not created by gep. It is an inbuilt funtionality
provided by eclipse J2EE perspective. I tested this with creating a web
application in eclipse without geronimo runtime and found a similar behaviour
as has been reported in this JIRA. The trace also suggests the creation of
geronimo-web.xml and not web.xml.
> Cann't remove servlet entry in web.xml after deleting servlet
> -------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-572
> URL:
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-572
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.4
> Reporter: viola.lu
> Assignee: Tim McConnell
> Priority: Minor
>
> 1.When i create a servlet, GEP will automatically add servlet entry in
> web.xml for example in a dynamice web app, i create a test servlet,below will
> append to web.xml
> <servlet>
> <description></description>
> <display-name>test</display-name>
> <servlet-name>test</servlet-name>
> <servlet-class>test</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>test</servlet-name>
> <url-pattern>/test</url-pattern>
> </servlet-mapping>
> But if delete this servlet, remove entry from this web.xml won't happen, and
> if this app is running on a server, error will display, and i should manually
> remove it from web.xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.