Running a JSP application on a Windows workstation

Procedure

To run a JSP application on a Windows workstation:

  1. If necessary, configure the MiniHttpConfig.properties file in the <DB2Everyplace>\SDK\JSP\Win32 directory.
  2. Start the mini HTTP Web server:
    1. Open an MS-DOS window.
    2. Change the directory to <DB2Everyplace>\SDK\JSP\Win32 using the 'cd' command.
    3. Type runJspServer.
  3. Open a Web browser and enter the URL to start your JSP application. For example, if the start page of your application is start.jsp, type http://localhost/start.jsp. If you configured the Port property in the MiniHttpConfig.properties file, type http://localhost:Port/start.jsp instead, where Port is the specified port number.
  4. To stop the mini HTTP Web server when you are done running the JSP application:
    1. Go to the MS-DOS window that you started the server in.
    2. Type Ctrl+C, and then type 'y' to terminate the batch job.

Related tasks

Related reference