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.
Summary: | USABILITY: Attempting to execute Servlets and JSPs outside a web module give confusing messages | ||
---|---|---|---|
Product: | javaee | Reporter: | jhoffman <jhoffman> |
Component: | Code | Assignee: | _ rkubacki <rkubacki> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
Error message when Executing or Debugging a Servlet that's not in a web module
Question dialog box when Executing or Debugging a JSP that's not in a web module |
Description
jhoffman
2002-01-25 23:58:41 UTC
Created attachment 4431 [details]
Error message when Executing or Debugging a Servlet that's not in a web module
Created attachment 4432 [details]
Question dialog box when Executing or Debugging a JSP that's not in a web module
Set target milestone to TBD Set target milestone to TBD Perhaps we should only allow creation of servlets (by default) within a web module, and provide a message to the user if they attempt to create one outside a web module. Same for JSPs. These cases *are* different. Automatic conversion to web module doesn't work for servlets because we can't move them from <ssome_path> to WEB-INF/classes/<some_path>. There will be likely related classes and also it is dangerous if user has VCS. My conclusion is to add better (and more consistent error messages) and close this. http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/execution/Bundle.properties.diff?r1=1.3&r2=1.4 http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/execution/ServletExecPerformer.java.diff?r1=1.3&r2=1.4 Verified in NetBeans dev build 200301310100. |