You open the Servlet property sheet from the servlet's node in the Filesystems
window. Note that if you create the servlet outside of the IDE, the IDE may
not recognize the file as a servlet and the property sheet may not contain all
the properties described in this topic. If this is the case, right-click the
servlet and choose Tools Mark
as Servlet from the contextual menu.
The Servlet node has the following properties:
Properties
Name. Use this property to set a name for the servlet. Typically,
you set a name when you create the servlet.
Click the ellipsis button (...) to display the Name property editor.
All Files. (Read-Only).
File Size. (Read-Only).
Modification Time. (Read-Only).
Synchronization 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.
Execution URI. The URI to use when you directly execute the servlet,
such as by right-clicking the servlet and choosing Execute from the contextual
menu. When you directly execute the servlet from the IDE, the IDE uses the
following template to form the URL that it passes to the browser:
Arguments. Command-line arguments to be sent to the main()
method as a list of strings separated by spaces. Click the ellipsis button
(...) to display the Arguments 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 ellipsis
button (...) and choose an executor in the Executor property editor.
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 ellipsis (...) and
choose a debugger in the Debugger property editor.
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 ellipsis (...) and
choose a compiler in the Compiler property editor.
Request Parameters. The
to add to the URL when a servlet
is directly executed, such as by right-clicking on the servlet and choosing
Execute from the contextual menu. See the description for Execution URI to
see how the IDE forms the URL that it passes to the browser when you directly
execute a servlet. To specify this property, type a query string in the Request
Parameters field, or click the ellipsis button (...) to display the Request
Parameters property editor.
Content Language. This property requires no argument in the case
of a servlet.
Execution
Encoding. Sets the encoding that the IDE uses
to save and display the file. If you do not want to specify the encoding
at this level, leave the property blank.