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.
I'm trying to run servlets under netbeans ide 3.4 on tomcat404. I cannot get to execute a servlet so it will use the servlet mapping I have manually specified in web.xml. It is using the /servlet/<servlet-class> formula by default, instead of the mapping I have in web.xml (this is a problem if I forward the request to another servlet-it won't be found) I know there is the URI property for the servlet which I could use to set the servlet mapping, but I think it would be much better if the environment would be able to "read" the web.xml when I execute the servlet and use the mapping in it. Is there anything I can do to have the web.xml loaded Thank you
The URI property offers available mappings read from web.xml (if it doesn't work it is a bug). OTOH it is difficult to assign any of these values because of possible ambiguity and URI patterns in servlet-mapping may contain wild chars too. You are right that relying on this built-in mapping is not the best and will break with 4.1.12 (invoker servlet is disabled here by default).
Running as /servlet/<servlet-class> was removed from Tomcat 5. Netbeans 4.0 uses web.xml mappings as servlet URI (which can be modified). Marking as Fixed.