Procedure
To run a JSP application on a Windows workstation:
- If necessary, configure the
MiniHttpConfig.properties file in the
<DB2Everyplace>\SDK\JSP\Win32 directory.
- Start the mini HTTP Web server:
- Open an MS-DOS window.
- Change the directory to <DB2Everyplace>\SDK\JSP\Win32 using
the 'cd' command.
- Type runJspServer.
- 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.
- To stop the mini HTTP Web server when you are done running the JSP
application:
- Go to the MS-DOS window that you started the server in.
- Type Ctrl+C, and then type 'y' to terminate the batch
job.
Related tasks
Related reference