Setting Servlet Properties
See Also
The servlet property sheet lets you set properties for a servlet.
To display the servlet property sheet:
- On the Filesystems tab of the Explorer, right-click the appropriate servlet
node.
- Choose Properties from the contextual menu. The servlet property sheet appears.
On the Properties pane of the servlet property sheet, you can set the following
properties:
- Name. Use this property to set a name for the servlet. Typically,
you set a name when you create the
servlet. To specify a name from the property sheet, click the Name value
field, then click the ellipses (...) to display the Name property editor.
- Synchonization Mode. To set the synchronization mode for the servlet
source code, choose a mode from the list. Possible values are
Do Not
Synchronize
, which disables automatic synchronization, Confirm
All Changes
, the default and recommended setting, and Without
Confirmation
, which causes synchronization without confirmation.
- Template. Setting the Template property for
the servlet allows you to use it as a template for new servlets. To set the
Template property, choose True or False from the combo box.
- URI. This property specifies a public Uniform Resource Identifier
(URI) that uniquely identifies this servlet. The URI will be the URL passed
to the browser when the servlet is executed. The combo box contains all the
servlet mapping defined for this servlet.
- Web Module. This property specifies the web module to which this
servlet belongs. To specify this property, choose a web module from the Web
Module combo box. The list includes all mounted web modules.
On the Execution pane of the servlet property sheet, you can set the following
properties:
- Compiler. Setting a compiler type for the servlet allows you to override
the default compiler setting. To specify this property, choose a compiler
from the list in the Compiler value field, or click the ellipses (...) and
choose a compiler in the Compiler property editor.
- Content Language. This property requires no argument in the case
of a servlet.
- Debugger. Setting a debugger type for the servlet allows you to override
the default debugger setting. To specify this property, choose a debugger
from the list in the Debugger value field, or click the ellipses (...) and
choose a debugger in the Debugger property editor.
- Executor. Setting the Executor property for the servlet allows you
to override the default executor setting. To specify this property, choose
an executor from the list in the Executor value field, or click the ellipses
(...) and choose an executor in the Executor property editor.
- Request Parameters. A request parameter is a query string that is
sent to the browser when a servlet is executed. The request parameter specified
here is added to the URL. To specify this property, type a query string in
the Request Parameters field, or click the ellipses (...) to display the Request
Parameters property editor.
Legal Notices