This is the home page for the web module.
JSP and Servlet support
The Web module provides support for development of JavaServer Pages (JSP).
If you are not familiar yet with the JavaServer Pages technology,
check out the following links to find more information:
- JavaServer Pages home page
- home page of the JavaServer Pages technology.
- Servlets home page
- home page of the Java servlet technology.
Servlet technology is a base technology levaraged and used by JSP.
- The Jakarta Project
- home of Tomcat, a web server which implements the servlet and JSP technologies.
This server is used by the Web module for JSP development.
The Web module supports version 2.0 of JSP specification and version 2.4 of servlet specification.
The web module helps you create JSPs in several ways:
- Web module maintains the structure of web applications according to the servlet and JSP specifications
including the deployment descriptors,
and automatically puts into classpath all necessary sources and libraries.
- The Web module supports editing of JSPs in a text editor.
It supports syntax highlighting which gives you useful visual feedback.
It clearly distinguishes HTML code, scripting code and JSP tags, directives and comments.
The JSP editor also assists you in writing JSP code by automatic code completion:
when you press Ctrl+Space in the editor, you will get a list of options from which
you choose the right one.
- Next, the Web module helps you check syntax of your JSPs by letting you compile your JSPs
from the IDE, so you don't need to start the server and run the page to check your pages for syntax errors.
If there are errors in your page, they appear in the output window as they do
when you compile Java classes, and after double-clicking the error, the editor brings you
to the line with the error.
- After successfully compiling your page, you can test the page by executing it in Tomcat server.
You can immediately see your page in the built-in web browser. Or you can choose any browser of your preference,
such as Netscape Navigator.
Want to participate ?
In the near future we would like to post documents which would explain
how JSP support works in a higher level of detail. Also, we would like to maintain a living TODO list for the module.
For now, here is a link for those
of you interested in the source code.
For question on using the web application support in NetBeans, please turn to the
user mailing list.
For question about implementation and about getting involved in the development, please use the
developer mailing list.