Yes you can, but the way to pass a parameter to an applet is simple HTML,
like I said, check your favorite HTML reference. Here are a few I use:
http://www.devguru.com/
http://www.netstrider.com/tutorials/HTMLRef/
http://www.w3.org/MarkUp/
or... you can even check out one of SUN's very own applet tutorial pages at
http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html#param
Sufi, the answers out there, but you really should try to spend some time
looking for it, instead of just blindly asking for the answer. You will
learn more that way.
Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629
-----Original Message-----
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 1:28 PM
To: [EMAIL PROTECTED]
Subject: Re: How jsp applet communicate ???
Yes, but I am sure there is a way that you can pass a parameter from
<%= the_jsp_output %> to the applet, I saw this somewhere but could not
remember where.
Thanks
>From: "Karau, Joe" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: How jsp applet communicate ???
>Date: Tue, 20 Feb 2001 13:17:04 -0600
>
>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
_________________________________________________________________
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