This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 38948

Summary: Does not send notification on servlet name change
Product: serverplugins Reporter: _ pcw <pcw>
Component: InfrastructureAssignee: issues@serverplugins <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description _ pcw 2004-01-16 23:22:03 UTC
I suspect this is really a web module bug, but 
I'll let the owners sort it out.  Simply, change 
event notifications are not being sent to JSR-88 
plugins when changes are made to web.xml.

Have SJSAS installed.
Create a web app with a servlet.
Open the config editor on sun-web.xml.
Edit web.xml
Change the name of the servlet.
Hit <Save>.
At this point, the notifyDDChange method should 
have been invoked to inform the sun-web 
configuration editor that the name of the servlet 
had changed.  This does not happen.

Note: If you rename the servlet via the right 
click menu on the explorer, and then in the popup 
dialog regarding updating the servlet-class field 
of web.xml, hit yes, the DConfigBean for the 
servlet *IS* notified of that change.  
Unfortunately, we're actually interested in the 
servlet-name field, not servlet-class :(
Comment 1 _ pcw 2004-01-17 01:05:51 UTC
Maybe I had a bogus file somewhere.  This is working as expected 
right now.  Nothing to see here, move along ;)