Hi there,

thanks for the info but I have to say that debugging a servlet with the
JSWDK is not something clear neough to understand. I placed my servlet(s) in
the JSWDK folder as you suggested and saw them running as they would in
JWS2.0 . In J. Hunter's book it says that in order to debug a servlet we can
debug sun.servlet.http.HttpServer and then watch as HttpServer executes
servlets in response to HTTP requests we make from a browser. Assuming the
appropriate classes are located in the classpath what exactly do I have to
do in order to debug my servlets? I'd like to add here that I have already
included some System.out.println()s in my code so that output comes out in
the MS-DOS console. This is not enough though as I cannot see why my
servlets are not running exactly like I want them to. What I mean is that I
can see where and when my DB connection takes place, I can see information
submitted in textfields, I can see when the servlets are loaded and
destroyed etc..

So, if I had a servlet called LoginServlet, how would I debug it via
JSWDK-1.0?

Let me know if you can please,

Andreas
-----Original Message-----
From: sen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 22 February 2000 11:34
Subject: Re: mini servlet tester


>Hi,
>I think you are advised to use server comes with JsdK2.1 . Use the options
>startserver and stopserver and place your servlet in the folder jsdk2.1
>
>good luck
>sen
>----- Original Message -----
>From: Andreas <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Saturday, February 19, 2000 5:26 PM
>Subject: mini servlet tester
>
>
>> I have JWS 2.0 and I am currently using it to run 3 servlets that
comprise
>a
>> room booking system. There are some bugs in the software that prevent it
>> from running "as smooth as possible". Somebody suggested I use the
>> mini-servlet-tester that comes with the Server Dev Kit....
>>
>> Could somebody tell me where to find that tester? I have looked
everywhere
>> in JWS but it's nowehere to be found(JWS is trial version).
>>
>> Any ideas where to find it?
>>
>> Thanks,
>>
>> Andreas
>>
>>
>___________________________________________________________________________
>> 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
>

___________________________________________________________________________
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