Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Dear Rema/Shobha, set path=%path%;c:\jsdkk2.0\bin and then set the classpath to the api directory of jsdk as set classpath=%classpath%;c:\jsdk2.0\src; after this two steps you go the dos prompt and test the working of jsdk by giving following command servletrunner to run ur code first compile the program using javac now execute the program by following command servletrunner -d srvdir -s c:\jsdk2.0\examples\servlet.properties where srvdir is the directory where u saved ur servlet file now go the browser and in the address bar give the following command http://localhost:8080/servlet/servletfile where servletfile is the name of java file without extension now u will get the result
Replies: |
Sponsored Links
|