Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: tell me how to run jsp


Message #1 by "zhulizhong" <zhulizhong@m...> on Fri, 26 Jan 2001 17:26:26 -0000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C08A19.5FE71890
Content-Type: text/plain;
	charset="windows-1252"


Murugan,

Stop sending posts to this listserver in HTML format - it is incredibly
inconsiderate to other users of the list, consumes bandwidth and is not
supported by all mail clients.


-----Original Message-----
From: mani2000 [mailto:mani2000@s...]
Sent: 29 January 2001 16:58
To: Pro_JavaServer_Pages
Subject: [pro_jsp] Re: tell me how to run jsp



Dear,

To run JSP pages you require JSWDK 1.0.1( Java Serve Web Development Kit).
This supports JSP 1.0 and  the servlet API 2.1. JSWDK contains simple
servlet engine, JSP enabled engine and a simple HTTP Web Server.

Requirements:

a) Operating System:  i) Windows NT 4.0 Service Pack 4
                                ii) Windows 98
                               iii) RedHat Linux
                                iv) Solaris
                               any one of the above.

b) JDK 1.1.8/JDK 1.2.2 / JDK 1.3


OPERATIONAL INSTRUCTIONS:

1) In dos mode Open and edit AutoExec.bat file

2) Add Path to JDK/bin directory

   Type the following:

   PATH  C:\Windows;C:\Windows\Command;C:\Dos;C:\JDK2\BIN;

  SET CLASSPATH = C:\JDK2\LIB\TOOLS.JAR;.;
  SET CLASSPATH = C:\JDK2\LIB\JVM.LIB;%CLASSPATH%  

Explanation: C:\JDK2  may be called as JAVA_HOME


3) Installation of JSWDK: Once you have downloaded the file move it to
location where you want to install JSWDK extract the contents of the file
using Winzip Utility. This process automatically create a sub directory
jswdk-1.0.

4) To start and to stop the server JSWDK contains Unix shell script and
window batch files. 

5) To start the server open DOS window and go to JSWDK directory 

   C:\JSWDK\BIN\ 

   HERE TYPE STARTS~1  - THIS WILL INVOKE StartServer.BAT file
   To stop the server   Type  STOPSE~1   THIS WILL INVOKE StopServer.BAT
file/

6) How to access the server :
    First go to JSWDK directory  as in the step 5 and start the server.
    Open Internet Explorer or Netscape Navigator
    Type the URL as http://localhost:8080/    Or http://<your host
name:8080/"

    this allow you to browse the server.

   When starting the server  you may  get Out of Environment Space error.
This may be due to  Allocation of  Windows  small  space for environment
variables. To work around this limitation:
Close the DOS window (the error can corrupt its CLASSPATH variable). 
Open a new DOS window. 
Click on the MS-DOS icon at the top left of the window. 
Select the Properties option. 
Click on the Memory tab. 
Adjust the "Initial Environment" drop-down box from "Auto" to "2816". 
Click OK. 
Start the server. 
 Now your JSWDK SERVER WILL WORK. YOU CAN NAVIGATE THROUGH JSP EXAMPLES AND
SERVLET EXAMPLES.

murugan.
--- 
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development, 
Web Development, Networking & Communications, and Hardware & Systems. 
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
--- 
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development, 
Web Development, Networking & Communications, and Hardware & Systems. 
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.


  Return to Index