Configuring HTTP Server Options
The IDE uses the HTTP server to serve hypertext objects to clients of the IDE.
For example, the HTTP server is used to
create Javadoc pages and provide the pages
to the user's web browser for display.
The IDE also supports the Tomcat 4 web server, which
is used by default to compile and execute components such as
JSP pages and servlets. If the Tomcat 4 Plugin module is available
in your version of the IDE, the Tomcat 4 node appears under the
Installed Servers node in the Server Registry on the Runtime tab of
the Explorer.
To configure HTTP server options:
- From the main window, choose Tools
Options.
- In the Options window, expand IDE Configuration
Server and External Tool Settings.
- Select the HTTP Server node.
- On the property sheet, modify the properties to your preferred settings.
The Properties tab has the following properties:
- Hosts with Granted Access.
Specifies the machines that are allowed to access the HTTP server. Clicking the value field and then clicking the ellipsis button displays a property editor with two possible settings: Any Host or Selected Hosts. Any Host does not restrict access to the server.
Selected Hosts restricts access so that only the machine
on which the IDE is running and machines specified in the Grant Access To text field are allowed access. Type machines in the Grant Access To text field as a comma-separated list of
machine names or IP addresses. The default for this property is
Selected Hosts.
- Port.
Specifies the port number on which the HTTP server operates.
- Running.
If True, the HTTP server is running.
The properties on the Expert tab are URLs that you can type
into an external browser to browse your mounted filesystems or Javadoc
filesystems in the external browser. Your list of bypassed hosts must be set correctly if you are using the IDE through a proxy.
- Base Class Path URL.
Specifies a URL that you can type into the external browser
to browse the Java class path and resources
hierarchy. For example,
if you set the Base Class Path URL to /classpath/, you would type http://{my-machine-name}:8082/classpath/ in the browser.
- Base Filesystems URL.
Specifies a URL that you can type
into an external browser to browse your mounted filesystems.
For example,
if you set the Base Filesystems URL to /repository/, you would type http://{my-machine-name}:8082/repository/ in the browser.
- Base Javadoc URL.
Specifies a URL that you can type
into an external browser to browse your Javadoc filesystem. For example,
if you set the Base Javadoc URL to /javadoc/, you would type http://{my-machine-name}:8082/javadoc/ in the browser.
Legal Notices