Make your own free website on
Java Webserver

Starting the java web server

Accessing the admin

If you Forgot your Admin Password...

You should now be able to access the Administration Tool using admin as the login and password.

Stopping/Shutting down the java webserver from the Admin tool

Stopping/Shutting down the java webserver from the command prompt
c:\javaWebserver2.0\bin\jsadmin user/password -stop

Changing name and password of Admin
Go to Admin tool : properties
Choose tabbed pane "Admin Password"

Changing the External port of Admin (default is 9090)
Go to Admin tool : properties
Choose tabbed pane "External Port"

* The internal port at which the admin listen can also be changed.

Changing the port fot HTTP (def:8080) and HTTPS (def:7070)
   Service name --> Manage -->Setup --> Network

Changing the Doc root directory (def: server_dir/public_html)
 Service name --> Manage -->Setup --> Site-->contents

 Servlet directory...

Installing the Servlet
The process for installing a servlet into a web server varies from web server to webserver. For the Java Web
Server, the procedure is as follows:

Configuring and Specifying Parameters to a Servlet
service name--> manage --> servlets --> configure
Configuration includes specifying values for fields load at startup, loaded now, loaded remotely, URL for remote servlet class.
The properties tabbed can be used to specify properties to the servlet.

Loading the Servlet...
While entering details for the new servlet options are there to load the servlet instantly or at start up.

Testing Your Servlet...

Filtering and Servlet Chaining:
If internal servlets that provide java webserver's own functionality are to be used in the servlet chaining for filtering then they must be first in the chain.

Steps in setting up servlet chaining:

Servlets Loading Passing Initial values to servlets.. Serving up Documents
service -->manage -->setup-->site-->contents
server_root\public_html directory (default)

File Aliases
Short-Cut names can be provided for files in the doc-root directory or any other directory.
For example:
Alias File Pathname
/member c:\servlet\One\form.html

Servlet Aliases:
Lengthy URLs to can be mapped to servlets.
For Example:
URL Servlet
/newFilter.html filter1.filter2