What kind of connection is the applet making to the servlet?  It is URLConnection, 
socket, RMI, something else?

Bib

-------------------------------------------------------------------------------------------
Bob Withers                                    Two things are infinite: the universe 
and
[EMAIL PROTECTED]                            human stupidity, and I'm not sure about
http://www.pobox.com/~bwit       the universe.     - Albert Einstein
-------------------------------------------------------------------------------------------
----- BEGIN GEEK CODE BLOCK -----
Version 3.1 http://www.geekcode.com
GCS d- s: a+ C++ UO++ P L++ E--- W++ N++ o-- w++
O M V- PS PE Y+ PGP t+ 5 X++ r* tv+ b++ DI++ D--- G
e++ h--- r+++ y+++
----- END GEEK CODE BLOCK -----


On Monday, March 15, 1999 4:27 PM, Formanek Gary L 
[SMTP:[EMAIL PROTECTED]] wrote:
> I agree, I would think they would be the same. However, I use the page to
> start my applet (there's a button on the html page) and then I can't see how
> the connection is made in the applet that starts up to the servlet. The page
> works but when the post happens from the applet, it does not seem to debug
> break in the servlet code. How do I get the applet to know about the debug
> version of the servlet that is running?
>
> Also, I've tried several things but the best I can do is get a security
> error - netscape.security.AppletSecurityException: security.Couldn't connect
> to \machinename.com' with origin from '' or
> netscape.security.AppletSecurityException: security.protocol: Cannot access
> 'http' from a codebase protocol of 'file'. This is when I run from a local
> copy of the html file with the local host machine name, etc.
>
> Thanks,
>
> Gary
>
> > -----Original Message-----
> > From: Bob Withers [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, March 15, 1999 1:35 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Debug servlet from an applet using VisualCafe
> >
> > At 01:06 PM 3/15/99 -0600, you wrote:
> > >Hi,
> > >
> > >I have an applet which does communication with a servlet using HTTP. I
> > have
> > >been able to use VisualCafe to debug an HTML form which posts to a
> > servlet.
> > >Basically you set up the options on the project dialog with the HTML
> > form,
> > >etc. Then hit the F5 to run in the debugger and everything works.
> > >
> > >However, how do I get an applet which posts to a servlet to debug into
> > the
> > >servlet? Has anyone ever done this before? I have several entries into my
> > >servlet from my applet and aside from always doing logging, I would
> > actually
> > >like to step into the servlet and debug it.
> > >
> >
> > Why would an applet posting to the servlet be any different than a HTML
> > form posting to it?  I would think that from the persepctive of the server
> > they would be indistinguishable.
> >
> > Bob
> >
> > __________________________________________________________________________
> > _
> > 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