aspose file tools*
The moose likes JSP and the fly likes applet comunicate with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "applet comunicate with JSP " Watch "applet comunicate with JSP " New topic
Author

applet comunicate with JSP

Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
How can an applet send variables to a JSP?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

You mean parameter data? Yup.


Groovy
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
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


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Hans Bergsten
Author
Ranch Hand

Joined: Dec 01, 2003
Posts: 106
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.


Hans Bergsten, hans@gefionsoftware.com<br />Author of O'Reilly's<br />- JavaServer Pages,<br />- JavaServer Faces<br /><a href="http://www.hansbergsten.com/" target="_blank" rel="nofollow">http://www.hansbergsten.com/</a>
ch praveen
Ranch Hand

Joined: Mar 08, 2004
Posts: 67
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

Joined: Jan 10, 2002
Posts: 61606
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet comunicate with JSP