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
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!!!
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
18 matches
Mail list logo