Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet comunicate with JSP

 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can an applet send variables to a JSP?
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean parameter data? Yup.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel there are 2 meanings:
- An Applet can send a request to JSP using java.net package
- An Applet can pass parameter to the current page
Which one do you want?
Nick
 
Hans Bergsten
Author
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by surasak lee:
How can an applet send variables to a JSP?

I recommend Jason Hunter's "Java Servlet Programming" (O'Reilly) if you want to learn more about this. There are many different ways to do it, and whcih one to use depends on the application specifics.
 
ch praveen
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AppletServletCommunication In Java Servlets Programming By Orielly Could Be
Found In The Below Links::
http://pub.spccatv.com.cn/~rison/servlet/ch10_02.htm (Daytime Server)
http://pub.spccatv.com.cn/~rison/servlet/ch10_03.htm (Chat Server)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch "ch_praveen"!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
JSP Forum Bartender
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic