It's not a secret anymore!
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

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: 8927

You mean parameter data? Yup.

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 package
- An Applet can pass parameter to the current page
Which one do you want?

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
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,<br />Author of O'Reilly's<br />- JavaServer Pages,<br />- JavaServer Faces<br /><a href="" target="_blank" rel="nofollow"></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:: (Daytime Server) (Chat Server)
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63868

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.
JSP Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
subject: applet comunicate with JSP
It's not a secret anymore!