aspose file tools*
The moose likes Applets and the fly likes applet to servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet to servlet" Watch "applet to servlet" New topic
Author

applet to servlet

ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
hello there ,
I have an applet , this applet does some downloading of content work at end user side , applet has to download 3 to 4 contents from server , when it successfully download all the content at
end user I want to have report of applets execution activity at
end user side , so this applet will pass notification in string format to given servlet and then that servlet will take this string which has been passed by applet and then servlet writes in file on server's disk , so this is how I can keep track of every time applet is executed successfully or not at end user ,
currently my applet is downloading contents very nice , but
how this applet can pass string to servlet , and how can servlet
capture this string , I know how to write to a file on local disk, it would be very nice of you if you can tell me how to pass string from applet to servlet ,
thank you in advance.
Glen Tanner
Ranch Hand

Joined: Apr 16, 1999
Posts: 147

The Sept 98 issue of Java Developer's Journal has an article about this. http://www.j-nine.com/pubs/applet2servlet/index.htm
Also, check out the Jason Hunter Servlet Book chapter 10 (I think) http://www.amazon.com/exec/obidos/ASIN/156592391X/electricporkchop/107-9077255-3234942
[This message has been edited by Glen Tanner (edited January 03, 2001).]
Sagar Surana
Greenhorn

Joined: Dec 23, 2000
Posts: 21
for passing value to servlet from applet
u need to form URL connection with the servlet using URL class
at the servlet side u can collect the data using getParameter... method

------------------
Sagar Surana
optimist


Sagar Surana<BR>optimist
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: applet to servlet