cornercorner
FeaturesPluginsDocs & SupportCommunityPartners
org.netbeans.modules.web

ID Snapshot Access
we01 wizard_choosetemplate.gif
 "New Wizard"

File -> New

we02
2) "New Wizard - JSP"   

File -> New, select JSP&Servlets -> JSP, press Next

we03

3) "New Wizard - Servlet"   

File -> New, select JSP&Servlets -> Servlet, press Next






 4) "New Wizard - JApplet Form"    

File -> New, select Java GUI Forms->JApplet Form, press Next



  5) "New Wizard - Applet Form"    

File -> New, select Java GUI Forms->AWT Forms->Applet Form, press Next

Debugging


DEBUGGING
1) "New Breakpoint"(JSP)

Press Debug->New Breakpoint or press Ctrl+Shift+F8, select JSP as Debugger type



 2) "New Breakpoint"(JSP/Servlet) 

Press Debug->New Breakpoint or press Ctrl+Shift+F8, select JSP/Servlet as Debugger type


didn't capture..dialog doesn't belong to web module?
 3) "New Breakpoint"(Java)  

Press Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type


didn't capture..dialog doesn't belong to web module?
 3.1) "New Breakpoint"(Line) 

Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type, select Line a

didn't capture..dialog doesn't belong to web module?
 3.2) "New Breakpoint"(Method) 

Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type, select Method as breakpoint type

didn't capture..dialog doesn't belong to web module?
3.3) "New Breakpoint"(Exception) 

Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type, select Exception as breakpoint type

didn't capture..dialog doesn't belong to web module?
 3.4) "New Breakpoint"(Variable) 

Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type, select Variable as breakpoint type

didn't capture..dialog doesn't belong to web module?
 3.5) "New Breakpoint"(Thread) 

Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type, select Thread as breakpoint type

didn't capture..dialog doesn't belong to web module?
3.6) "New Breakpoint"(Class) 

Debug->New Breakpoint or use hotkey Ctrl+Shift+F8, select Java as Debugger type, select Class as breakpoint type

didn't capture..dialog doesn't belong to web module?
4) "New Watch" 

Press Debug->New Watch or press Ctrl+Shift+F7

didn't capture..dialog doesn't belong to web module?
5) "Finish Debugging Sessions" 

Start debugger, then press Shift+F5 or Debug->Finish

didn't capture..dialog doesn't belong to web module?
6) "Question" 

Start to debug JSP file and wait debugger stopped on line. Press F7 or Debug->Step Into.

didn't capture..dialog doesn't belong to web module?
7) "Properties" for breakpoint

Switch to Runtime tab of explorer. Select Debugger->Breakpoint->some breakpoint and press "Properties" context menu item.

didn't capture..dialog doesn't belong to web module?
8) "Create Group"

Switch to Runtime tab of explorer. Select Debugger->Breakpoint and press "Create Group" context menu item.

didn't capture..dialog doesn't belong to web module?
9) "Confirm Breakpoints Deletion"

Switch to Runtime tab of explorer. Select Debugger->Breakpoint and press "Delete All" context menu item.

  10) "Information"

Start debugger. Press Alt+F5.

didn't capture..dialog doesn't belong to web module?
11) "Attach"

Press Debug->Start Session->Attach.



 13) "Set Default Web Server"

Switch to Runtime Tab of explorer, select Server Registry->Default Servers->Web Tier Application and press "Set Default Server..." context menu item.


14) "Set Default Application Server"

Switch to Runtime Tab of explorer, select Server Registry->Default Servers->J2E Applications and press "Set Default Server..." context menu item.


15) "Add Tomcat Installation"

Switch to Runtime Tab of explorer, select Server Registry->Installed Servers->Tomcat and press "Add Tomcat Installation" context menu item.


16) "Add Admin Server"

Switch to Runtime Tab of explorer, select Server Registry->Installed Servers->Sun ONE Application Server and press "Add Admin Server" context menu item.


1) "Option" 

Tools->Option


 2) "Setup Wizard"

Tools->Setup Wizard


2)"New Wizard - Servlet"(Target Location)
File->New, select JSP&Servlets->Servlet, press Next



3)"New Wizard - Servlet"(Deployment Configuration)
File->New, select JSP&Servlets->Servlet, press Next 2 times


4)"New Wizard - Servlet"(New Object Name)
Select some package and then select New->Servlet in popup menu
(Servlet was added into popup menu after first creation of new servlet)


5)"Compiler"  
Select some servlet, View->Properties, switch to "Execution" properties tab
and click on "..." button near "Compiler" property


6)"Output Window"
View->Output Window


17)"Name" 
Select some servlet, View->Properties, switch to "Properties" properties tab
and click on "..." button near "Name" property.



18)"Content Language" 
Select some servlet, View->Properties, switch to "Execution" properties tab
and click on "..." button near "Content Language" property.


19)"Request Parameters" 
Select some servlet, View->Properties, switch to "Execution" properties tab
and click on "..." button near "Request Parameters" property.


20)"Debugger" 
Select some servlet, View->Properties, switch to "Execution" properties tab
and click on "..." button near "Debugger" property.


21)"Executor" 
Select some servlet, View->Properties, switch to "Execution" properties tab
and click on "..." button near "Executor" property.


22)"Execution View"
View->Execution View


23)"Progress Monitor"
Execute any servlet when default server was not started


24)"Web Browser []"
Set SWING browser as default for IDE and then View->Web Browser


25)"Information"
Set SWING browser as default for JSP/Servlet execution and then execute
JSP or Servlet. You will be warned about low capability of SWING browser


26)"Information"
Occupy port #1080 on localhost before starting IDE. After startup you
will be warned about that.


27)"Installed Servers"
Select some servlet, View->Properties, switch to "Execution" properties tab
and click on "..." button near "Executor" property, click on "..." button near
"Installed Servers" property.


31)"Set HTTP Request Parameters(Query String"
Rightclick on some servlet and select Tools->Set Request Parameters...


48)"Confirm Changes"
Copy some servlet from one package to another. Or just remove it.


49)"Confirm Object Deletion" 
Try to delete some servlet.


50)"Rename"
Rename some servlet via popup.


51)"New Wizard - Advanced Filter"(Target Location)
File->New, select JSP&Servlets->Filters->Advanced Filter, press Next


52)"New Wizard - Advanced Filter"(Deployment Configuration)
File->New, select JSP&Servlets->Filters->Advanced Filter, press Next 2 times


53)"New Wizard - Advanced Filter"(New Object Name)
Select some package and then select New->Advanced Filter in popup menu
(Servlet was added into popup menu after first creation of new AdvancedFilter)

wizard_servcontextlistener.gif
54)"New Wizard - Servlet Context Listener"(Target Location)
File->New, select JSP&Servlets->Filters->Servlet Context Listener, press Next

wizard_servcontextlistener2.gif
55)"New Wizard - Servlet Context Listener"(Deployment Configuration)
File->New, select JSP&Servlets->Filters->Servlet Context Listener, press Next 2 times



57)"WAR Contents"
Select popup menu "View WAR Contents" on some WEB-INF node.


58)"Information" 
Export WAR File successfully


59)"Error"
Try to export WAR file to read-only filesystem.


60)"Confirm Object Deletion" // include ?? Same as previous
Try to delete some war file.


61)"Rename" // include ?? Same as previous
Rename some war file via popup.


62)"Extra Files"
Select WEB-INF of some web module, View->Properties,switch to "Archive" properties tab and click on "..." button near "Extra Files" property.


63)"Filter"
Select WEB-INF of some web module, View->Properties,switch to "Archive" properties tab and click on "..." button near "Filter" property.


64)"Warning"
Set "External Browser(Unix)" to nonexisting browser and try to execute something
INTERNAL HTTP SERVER MODULE



- "Properties of HTTP Server" (right click on HTTP Server node in
Runtime tab);



- "Hosts with Granted Access" (click on '...' button in 'Hosts with
Granted Access' field in previous dialog);


- "Base Classpath URL" (click on '...' button in 'Base Classpath
URL' field in Expert tab of 'Properties of HTTP Server' dialog);


- "Base Filesystems URL" (click on '...' button in 'Base Filesystems
URL' field in Expert tab of 'Properties of HTTP Server' dialog);


- "Base Javadoc URL" (click on '...' button in 'Base Javadoc
URL' field in Expert tab of 'Properties of HTTP Server' dialog);


- "Information" (appears when you enter an invalid value in any
field ('Port' for example));


- "Grant Access Request" (appears when someone tries to connect to
local HTTP server from another computer);
JSTL MODULE


- "JSP Tag Library Repository Browser" (right click on WEB-INF and
choose 'Add JSP Tag Library->Find in Tag Library Repository');



JSP DO module


 - "Rename" (right click on a jsp node and choose 'Rename');
// include ?? same as previous


- "Confirm Object Deletion" (right click on a jsp node and choose
'Delete');
// include ?? same as previous


 - "Save as Template" (right click on a jsp node and choose 'Save as
Template');
// include ?? same as IDE functionality
JSP Compilation and Execution module


- "Mount Web Module" (appears after a web module is mounted);


- "Add Tomcat Installation" (right click on 'Installed
servers->Tomcat' in 'Runtime' tab and choose 'Add Tomcat
Installation');


- "Select Default Web Server" (right click on 'Server
Registry->Default Servers->Web Tier Applications:' and choose 'Set
Default Server...');


 - "Information" (appears when Swing browser is starting);


- "Progress Monitor" (appears when default server is starting);


- "Web Browser []" (appears when Swing browser is running);


 - "New Wizard - Tag Library" (right click on mounted filesystem
and choose 'New->All templates->JSPs And Servlets->Tag Library');


- "Add New Tag" (right click on a tag library and choose 'Add
Tag');
TOMCAT?

- "HTTP Connector" (click on 'Server Registry->Installed
Servers->Tomcat->Internal Tomcat->localhost:' and click on '...'
button in 'Http connector' field in Properties of Tomcat);


- "Set Project Main Class" (In main menu - 'Projects->Set Project
Main Class...');
// include ?? provided by IDE


 - "Question" (main menu - 'Tools->Update Web Application Version');


 - "New Tag Library Wizard Warning" (when trying to create a taglib
with incorrect name);


"Abbreviations" dialog: Call 'Tools->Options->Editing->Editor Settings->JSP Editor->Abbreviations'

//include ?? this is provided by IDE



"Question" dialog with the question 'Convert this FileSystem into a J2EE Web Module': On any just mounted local filesystem call popup menu and choose Tools->Convert Filesystem into Web Module


"New Wizard - Simple Filter" dialog: 'File->New', select 'JSPs & Servlets->Filters->Simple Filter' and press "Next" button




wizard_servcontextattlistener.gif
"New Wizard - Servlet Context Attribute Listener" dialog: 'File->New', select 'JSPs & Servlets->Listeners->Servlet Context Attribute Listener' and press "Next" button

wizard_servcontextattlistener2.gif


wizard_httpattlistener.gif
"New Wizard - Http Session Attribute Listener" dialog: 'File->New', select 'JSPs & Servlets->Listeners->Http Session Attribute Listener' and press "Next" button

wizard_httpattlistener2.gif


wizard_httplistener.gif
"New Wizard - Http Session Listener" dialog: 'File->New', select 'JSPs & Servlets->Listeners->Http Session Listener' and press "Next" button




wizard_webmodgroup.gif
"New Wizard - Web Module Group" dialog: 'File->New', select 'JSPs & Servlets->Web Module Group' and press "Next" button


//NOT COVERED BY QA?

dialog_addwebmod.gif
"Add web module" dialog: Create "Web Module Group", select 'ServerConfiguration', call popup and choose "Add web module"

dialog_webmodgroup.gif
"Web Module Group" dialog: Call 'Property' popup menu for WEB-INF node then choose 'Web Module Group' field

dialog_targetserver.gif
"Target Server" dialog: Call 'Property' popup menu for WEB-INF node, switch to 'Execution' tab and choose 'Target Server' field


alert_serverinstance.gif
"Error" dialog: Switch to 'Runtime' pane, Explore 'Runtime->Server Registry->Default Servers->J2EE Applications' and call 'Set Default Server' popup menu and press <ESC>
"Select Default Web Server" dialog: Switch to 'Runtime' pane, Explore 'Runtime->Server Registry->Default Servers->Web Tier Applications' and call 'Set Default Server...' popup menu





HTTP Monitor Windows and Dialogs

1. HTTP Monitor - Choose "Debug->HTTP Monitor".

2. Edit and replay - Right-click an HTTP Monitor record and
choose "Edit and replay".

3. Execution server error dialog 1 - In the Edit and replay
dialog, change the Hostname property in the Server tab
to a machine name that doesn't exist and click "Send
HTTP Request".

4. Execution server error dialog 2 - In the Edit and replay
dialog, with the Hostname property set to a valid value,
change the "Port number of HTTP service" property in the
Server tab to be a port which has no server listening
and click "Send HTTP Request". This dialog also appears
if you attempt to do a regular Replay and the server is
stopped.


Tag Library Editor Windows and Dialogs

1. Tag Library Customizer - Right-click a tag library and
choose "Customize".

2. Select mounted filesystem for Tag Handler Generation
Root - Click the "Browse..." button in the Tag Library
Customizer.

3. Tag Library Version Update Message - This is actually
a somewhat artificial way to get to the message, but
the easiest way without having a tag library from an
older version of the IDE. In the Tag Library Customizer,
change the JSP Version property to 1.1 and click OK.

4. Add New Tag - Right-click tag library and choose Add Tag.

5. Tag Validation Errors - In the Add New Tag dialog, clear
the Tag Name field and click OK.

6. Tag Customizer - Right-click a tag and choose Customize.

7. Add New Tag Attribute - Right-click any tag and choose
"Add Tag Attribute".

8. Tag Attribute Validation Errors - In the Add New Tag
Attribute dialog, select the "Refers to tag or class"
radio button without setting a value for Type or Variable
name and click OK.

9. Tag Attribute Customizer - Right-click a tag attribute
and choose Customize.

10. Add New Tag Scripting Variable - Right-click any tag and
choose "Add Scripting Variable".

11. Tag Variable Validation Errors - In the New Tag Scripting
Variable dialog, select the From Attribute radio button
without selecting an attribute from the pull-down menu and
click OK.

12. Tag Scripting Variable Customizer - Right-click a scripting
variable and choose Customize.

13. Tag Library Code Generation Message - Right-click a tag
library containing tags and choose Generate All Tag
Handlers.

14. Tag Library Editor Message #1 - Right-click a tag library
for which all tag handlers have already been generated and
choose "Generate Tag Handlers".

15. Tag Generation Exception - Set the Tag Handler Generation
Root property of a tag library to be a read-only filesystem
and right-click that tag library and choose Generate All
Tag Handlers.

16. Tag Library Editor Message #2 - Right-click a tag library
and choose Create Tag Library JAR.

17. Warning - Set the filesystem containing the tag library to
be read-only. Right-click the tag library and choose Create
Tag Library JAR.

18. JSP Tag Library Repository - Choose "Tools->JSP Tag Library
Repository".
NOTES
  • Didn't include a number of windows that QA had identified since those windows are provided by the IDE or other modules, not the web module.
  • Screenshots need to be completed. The above screenshots taken from NB 3.5 dev build from April 7, 2003.


Companion
Projects:
MySQL Database Server   GlassFish Community: an Open Source Application Server   Open Solaris  Open JDK: an Open SourceJDK   Mobile & Embedded Community     Sponsored by 
Sponsored by Sun Microsystems