You can debug the servlet quite well in Inprise JBuilder.
Just start it via JBuilder & set your breakpoints etc...
then when you launch the applet (& debug it as suggested)
you can see the servlet functionality in the JBuilder debugger.
I think that visual cafe has similar debugging features.
See Callaway's "Inside Servlets" for a whole chapter devoted to that topic.
--
Andrew Dingfelder
Computing As You Like It
108 Blanchard St, Raleigh NC 27603
[EMAIL PROTECTED]
Phone (919) 828-9824
Fax (919) 828-9979
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of JESS
ZACHARIAS
Sent: Sunday, August 08, 1999 2:06 AM
To: [EMAIL PROTECTED]
Subject: Re: How to debug: Servlets that Communicate with an Applet
Hi Vaishnavi ,
U could use the java console of the browser for debugging the
applet while running applet and servlet simultaneously on the server.
Any "System.out.println(<debug message>) would appear in the
java console window. Servlet debugging will have to be done using any
server error log file.
Hope this helps u..
On Fri, 6 Aug 1999, Vaishnavi Mannar wrote:
> Hi,
>
> I have an Applet that opens a Connection to a Servlet. If i send some
> message from the applet, i get a reply message from the Servlet. I use
> Symantec Vcafe
> to develop my applet, and i develop and compile the Servlet at command
> prompt. I use jdk1.2.1.
>
> To run the Servlet, i deploy both my applet and Servlet in
> JavaWebServer1.1.3, and call the applet from the browser as
> http://machine:8080/app.html
> My question though is how to debug the Servlet, since the Servlet does not
> run independent of the Applet. To see the output i need to put the Applet
> and the Servlet on the Web Server, and if it does not work as i intended
> how to figure out where the problem is.
>
> In VCafe, one can have a separate project for an Applet and Servlet. When
i
> run the applet say in debug mode, when i come to the point where i have to
> connect to the Servlet i get the exception "Source not found " displayed
in
> the Message box, which is obvious.
>
> But, How is one to understand how the applet and servlet work together ?
> How does anyone developing something like this debug?
>
> Any suggestion /tips please.
>
> Thanks in advance.
>
>
___________________________________________________________________________
> 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