Sufi, a JSP file is a source file that contains bits of JAVA code, and HTML.
When the user requests a JSP file, it is first parsed into a regular *.java
source file, then compiled into a *.class file (which by the way is a
servlet), and finally the servlet executes providing the user's browser with
HTML. (overly simplified, but basically correct)
An applet is basically a JAVA application that runs within the browser
instance, you declare the name of it, and any PARAMETERS that you want to
pass it in the HTML. View your favorite HTML reference for details.
Therefore, unless you are going to do some special work to allow the applet
to communicate with a servlet (have not been able to get it to work with a
JSP). You have to pass the parameters to the applet based on output from
your JSP.
Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629
-----Original Message-----
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 12:46 PM
To: [EMAIL PROTECTED]
Subject: How jsp applet communicate ???
How to pass a parameter in a jsp file to an applet, If I have an applet that
show text scrolling, I want to pass this text from the resultset to the
applet.
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets