Re: Servlet-Applet Communication

2002-01-24 Thread Peter Cimring
about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Yee Sent: 23 January 2002 08:55 To: [EMAIL PROTECTED] Subject: Re: Servlet-Applet Communication What exactly is the exception? You might want to use the Java console of Netscape to show it. You might n

Re: Servlet-Applet Communication

2002-01-23 Thread Richard Yee
What exactly is the exception? You might want to use the Java console of Netscape to show it. You might need to edit the java.policy file to grant the permission. Try searching www.javasoft.com for the exception that you are getting. -Richard At 11:39 AM 1/23/2002 +0530, you wrote: >Hi guys!!!

Re: Servlet -> Applet communication

2001-11-20 Thread Godbey, David
No, you've got it right. Keep on going... -Original Message-From: Sergey Kulik [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 20, 2001 11:37 AMTo: [EMAIL PROTECTED]Subject: Servlet -> Applet communication Hi Guys.   I am new in servlets. I have to make a communication

Re: servlet-applet communication

2000-10-09 Thread DENIZ DEMIR
You should use the URLConnection object in the applet, and you open a url socket to the servlet, then in the servlet use the ServletOutputStream in order to send your DataOutputStream that is prepared in servlet. Look at the following code fragments... This is servlet side code: in this code

Re: servlet-applet communication

2000-10-09 Thread Kevin Mukhar
dushyanth harinath wrote: > > Hi folks, > I want to invoke an applet from a servlet and send > 10/15 parameters to it which i retreive from the > database using a servlet.How should i go about > acheiving this. The same way that a static html page passes parameters to an applet. http://java.sun.c

Re: servlet-applet communication

2000-10-09 Thread Christopher K. St. John
dushyanth harinath wrote: > > I want to invoke an applet from a servlet and send > 10/15 parameters to it which i retreive from the > database using a servlet.How should i go about > acheiving this. > RTFA. At the bottom of every post is a link to the archives for this mailing list. Did you chec

Re: Servlet - Applet communication

2000-07-12 Thread Danny Rubis
Hey! Just a suggestion, start with an HTML POST to your login servlet. Once, authenticated send him the HTML with the embedded applet tag. Sans adieu, Danny Rubis Baskaran Subramaniam wrote: > Hello Listusers > > I have a requirement as follows > > 1. Login Applet, on submitting it should trig

Re: Servlet-Applet communication.

1999-08-21 Thread Danny Rubis
Hey! >I know how info is received via submit method but how is the information received by the servlet from an Applet? Here's briefly, how we do it. I suggest that you look at the JDK docs for java.net.* package, where you will find information about URL connections. Once you are comfortable u

Re: Servlet-Applet communication.

1999-08-20 Thread Damodara Muppala
Title: Servlet-Applet communication. through Input Output streams. You can invoke a Servlet from an Applet by using URL class, its treated as if you are calling from browser.   Servlet can be run by both Applet and a Html page. You need to differentiate by passing parameters like ?type=objec

Re: Servlet Applet Communication

1999-07-18 Thread Muhammad Azam
Hi, This is regarding Applet-Servlet communication, good article, enjoy it. http://www.j-nine.com/pubs/applet2servlet/Applet2Servlet.html Azam ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

Re: Servlet Applet Communication

1999-07-17 Thread Paul Szynol
Can anyone recommend some good example code of applet/servlet communication? Thanks, Paul -Original Message- From: Andy Bailey [mailto:[EMAIL PROTECTED]] Sent: Monday, July 12, 1999 12:27 PM To: [EMAIL PROTECTED] Subject: Re: Servlet Applet Communication Hi, I am trying to use login

Re: Servlet Applet Communication

1999-07-12 Thread Andy Bailey
Title: Servlet Applet Communication Hi, I am trying to use login screen as servlet and I want to pass username to my applets , how can I pass this parameter from servlet to applet. I know we can pass parameter from applet to servlet but is it reverse possible?? regards, Nitin  

Re: Servlet/Applet communication

1999-06-20 Thread Anonymous
The following site may help you. http://www.j-nine.com/pubs/index.htm#Applet and Servlet Communication --- Sabbir On Thu, 17 Jun 1999, Bernadette K. Minton wrote: > Hi! > > I have just started writing Java servlets and applet

Re: Servlet/Applet communication

1999-06-20 Thread Ted Neward
Bernadette-- You can always use Serialization to send an object across any type of Input/Output stream: Serializable obj = ...; // any Serializable-implementing object instance OutputStream os = ...; // maybe os is from socket.getOutputStream()? FileOutputStream? doesn't matter ObjectO

Re: Servlet-Applet Communication

1999-05-12 Thread Shaheen Hussain
Try resetting the stream before each write, using ObjectOutputStream.reset(). -Original Message- From: Tim Fleming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 11, 1999 11:52 PM To: [EMAIL PROTECTED] Subject: Servlet-Applet Communication I have an applet that requests data objects from

Re: Servlet-Applet Communication

1999-05-12 Thread Cezar Totth
Hi! Probably you cant keep ObjectStreams indefinitely open, because each one (for each new request from applet) needs a thread on servlet engine. And other resources - request/response pairs, and so on. Other servlet engines might implement timeout policies (e.g. closing requests/responses and a

Re: Servlet - Applet - Communication

1999-03-16 Thread Greg Bondy
I've had some good success doing Object communication between an Applet and Servlet. The limiting factor I found was that the browser (Netscape 4.5 in my case) would loose the Input and Output Streams in an unpredictable manner. I found that if I limited my reads and writes to one object that it w

Re: Servlet - Applet - Communication

1999-03-15 Thread Chris Wolfe
It should be easiest with an ObjectOutputStream (around the Response.getOutputStream), and an ObjectInputStream on the Applet end of the URLConnection. On the other hand, you may want to avoid this. I have heard some horror stories about the incompatible classes in the various browser JVMs. The