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 21700 - USABILITY: Confusing dialog when executing a JSP that is in an incorrectly mounted web module
Summary: USABILITY: Confusing dialog when executing a JSP that is in an incorrectly mo...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on: 31866 34090
Blocks:
  Show dependency tree
 
Reported: 2002-03-19 01:38 UTC by jhoffman
Modified: 2003-12-11 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jhoffman 2002-03-19 01:38:30 UTC
When executing a JSP node that the IDE does not think is within a web module,
the following message appears:
"The object is not in a web module. Do you want to convert this file system to
the web module? Without this conversion the execution/debugging is not allowed."
 This message should be changed to read:

"The object is not in a web module, or the directory containing it is not
mounted at the web module root directory. The web module must be mounted at the
directory that contains the WEB-INF directory." 

I think this message should have a help button which points to the "Developing
JSP and Servlet Files" topic.  This topic describes that a servlet/jsp must be
in a web module and has links to how to create a web module.
Comment 1 jhoffman 2002-03-19 02:10:33 UTC
I think that we should remove the offer to "convert to web module"
from this dialog since in the case that the web module is mounted
improperly, attempting to create another one may cause even more
trouble.  

I believe that linking to a decent help page that explains how to work
with JSPs & Servlets within the IDE is a better approach here.
Comment 2 Damian Frach 2002-04-04 13:34:36 UTC
text was changed
Comment 3 Marek Grummich 2002-07-22 12:04:08 UTC
Set target milestone to TBD
Comment 4 Marek Grummich 2002-07-22 12:09:57 UTC
Set target milestone to TBD
Comment 5 Petr Jiricka 2003-01-22 15:50:44 UTC
The Projects should address this.
Comment 6 psuk 2003-02-24 09:58:12 UTC
Changing Target Milestone to 4.0
Comment 7 Pavel Buzek 2003-09-03 12:53:48 UTC
should be fixed in projects branch -- jsps can only exist in web
module project