Thanks for your reply.  I have been using JSWDK1.0 which  is a server provided by Sun 
Microsystems that allow you to run both JSP and Servlets (and any other server 
implementable process).  It works great for me on the
samples they include with the setup (includes both JSP and Servlets) but when I create 
my own servlets or use the tutorial servlets it does not work.  I place the following 
code in the servlets.properties file which in the
JSWDK1.0 case is located in two locations 
G:\jswdk-1.0\examples\WEB-INF\servlets.properties and also at 
G:\jswdk-1.0\webpages\Web-inf\servlets.properties
I do not know which one it references when it starts up a servlet (or the server)
There is also a webserver.xml file which has setup information on that the server uses 
when starting. I don't know if I need to add information there, and if so what 
information.

I tried putting my created servlets in the same directory of the ones that jswdk-1.0 
provided but the servlet will still not run.  I spent two days this week trying to get 
it running without success.

Do you know of anyplace the has good information on setting parameters for the 
jswdk-1.0.  I looked through the Java Developer Connection with little success.


Thanks

John
venkata p suresh wrote:

> 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

___________________________________________________________________________
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

Reply via email to