• Post Reply Bookmark Topic Watch Topic
  • New Topic

passing object from applet to servlet

 
sunil kumre
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to pass an object(for eg a student object with roll no as 10)from an applet to a servlet.
Inside the servlet how should access this received student object's roll number?
Can someone help with a sample code?
Thanks in advance
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sunil,
Check out http://www.javaranch.com/common.html - look for the HTTP class and the ObjectServlet class. this has an applet to servlet object pipeline that makes it really easy for applets to talk to servlets.
Regards,
Manfred.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!