File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applet / portlet - Communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet / portlet - Communication" Watch "Applet / portlet - Communication" New topic

Applet / portlet - Communication

Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
Hello Everybody !

I am looking for a way to send information form an applet to a portlet. Is this - somehow - possible ?

thanks in advance


Visit me at
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
What, exactly, do you mean by "send information"? What is the target of this sending - an HTTP-addressable portal page? The portal page in which the applet is embedded? Something else? What is being sent?
sridhar mam

Joined: Jun 28, 2007
Posts: 4

Did you get the solution for it?

I want to do the same...

I have an applet form embedded in portlet, and when I submit the form, it should pass through portlet.

Thanks in advance.
narendra dwfs

Joined: Jun 15, 2010
Posts: 1
You can get the values into the form when you submit the form
by just using java script.
an applet can call the javascript methods and also
send data to javascript methods as a parameters.
in javascript you can set the value to the textboxes.

Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
It is possible.

Portlet -> Applet: Use Applet parameters.

Applet -> Portlet: Use Netscape javascript libraries to call jsvascript functions that take the parameters
Daniel Breitner
Ranch Hand

Joined: Nov 13, 2008
Posts: 70
This is how you do applet - portlet communication :

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Applet / portlet - Communication
It's not a secret anymore!