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 155865 - renaming a welcome html file does not update web.xml
Summary: renaming a welcome html file does not update web.xml
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@javaee
Depends on:
Reported: 2008-12-19 21:52 UTC by shche123
Modified: 2016-09-26 21:20 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description shche123 2008-12-19 21:52:51 UTC
renaming a welcome html file does not update web.xml
Comment 1 Jayashri Visvanathan 2009-01-07 22:21:31 UTC
Comment 2 Matthew Bohm 2009-01-14 01:23:18 UTC
My understanding is that tspiva owns refactoring. tspiva, please reassign back if this is wrong.
Comment 3 Petr Jiricka 2009-09-17 21:00:39 UTC
This is not implemented, so I would say this is an enhancement request, right Marku?
Comment 4 Vince Kraemer 2009-11-05 01:01:18 UTC
I do not see how this could be considered useful...

There isn't a 1-to-1 mapping between the name of a file in a web app and the values listed in the welcome-file-list....

Consider an app that has 


and a welcome-file entry of index.jsp...

the welcome file list will be consulted when I try to access
http://h:p/context-root/ AND http://h:p/context-root/foo/

Now... I go into NB and change the name of /foo/index.jsp to /foo/bogus.jsp... I do not think that we want to automagically change the welcome-file-list 
to have an entry for bogus.jsp instead of index.jsp... do we?

At best, this is an enhancement. 
Comment 5 Marek Fukala 2009-11-05 08:34:21 UTC
If you are able to switch on/off the particular cases in the refactoring preview, then it would make sense probably. In
any case this sounds like a low priority feature.
Comment 6 Martin Balin 2016-07-07 08:54:32 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 7 TahorBenYAH 2016-09-26 21:20:51 UTC
change not updating in index.jsp after RUN:

NetBeans: Deploying on securecourtaccess-env/SecureCourtAccessWEB on Amazon Beanstalk
    profile mode: false
    debug mode: false
    force redeploy: true
Distributing E:\0_JAVA_SET_UP\SecureCourtAccessWEB\SecureCourtAccessWEB\SecureCourtAccessWEB\target\SecureCourtAccessWEB-1.0-SNAPSHOT.war to [cloud-deployment]
Authenticating ...
Uploading ...
Updating ...
Redeploying ...
Deployment finished.