Dear John,
When u say jswdk1.0,i understand it as jdk1.0
I don't think that u can execute servlets in jdk1.0
What u do is:
1.Download jdk1.1 or jdk1.2 from http://java.sun.com
2.Download jsdk2.0 from http://java.sun.com
3.You should have a server like WIN NT with IIS
4. (1) and (2) should be downloaded to a machine with (3) or download to any
machine,then copy the setup file to (3) and then set it up.Downloading of jsdk2.0 is
very easy and doesn't consume much time as well as memory
5.After copying the setup files to (3),install jdk1.1 or 1.2 on (3).Go through the
readme.txt before installing.
6.Then,install jsdk2.0 on (3).Go through readme.txt before installing.
7.You will find a directory named 'examples' in jsdk2.0'.This is very important.In
that , you will find a file called servlet.properties as well as some .java and .class
files
8.go to DOS prompt of your machine.Then type the command 'servletrunner' and press on
enter.Then,it will display a list containing connections,etc.
9.Minimize the DOS window.Because,servletrunner should be on when you are working with
servlets
10.Open the browser and enter
http://localhost:8080/servlet/SimpleServlet
and press enter
11.Now that servlet will be executed.This servlet 'SimpleServlet' is present in
examples directory as SimpleServlet.class
12.It will work!
P.V.SURESH
Software Engineer
IGNOU
NEW DELHI
INDIA
[EMAIL PROTECTED]
--
On Fri, 6 Oct 2000 14:42:13 J wrote:
>If you have any insight on what directory under jswdk-1.0 to place
>servlets
>> so they will run properly, let me know. I took the Duke's Bookstore
>examples
>> and placed them in jswdk-1.0\examples\WEB-INF\servlets but I can not
>call it
>> from the browser using
>http:\\localhost:8080\examples\servlet\bookstore.
>> Also, I am not sure what to put in the servlets.properties file.
>
>Thanks
>
>John
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
What are you N2? Choose from 150 free e-mail addresses.
http://www.n2mail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html