aspose file tools*
The moose likes I/O and Streams and the fly likes Applets & Streams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Applets & Streams" Watch "Applets & Streams" New topic
Author

Applets & Streams

Muhammad Mansoor
Ranch Hand

Joined: Nov 26, 2000
Posts: 30
I am trying to create *any type of stream b/w applet and servlets. Any solution ??
Richie Bradford
Greenhorn

Joined: May 09, 2001
Posts: 1
Originally posted by Muhammad Mansoor:
I am trying to create *any type of stream b/w applet and servlets. Any solution ??

To get a input/output streams on the servlet side you can use the request and response parameters of the post/get methods
ex: InputStream inputFromApplet = request.getInputStream();
OutputStream outputToApplet = response.getOutputStream();
On the Applet Side you open a connection to the URL of the servlet and use this to get the the input/output streams as above.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applets & Streams
 
Similar Threads
unable to add App Project into testServer
Page implicit Object?
Suggestions for team cheer
Unadulterated petrol pumps in bangalore
[eclipse] any good .html plugin that you recommend?