Salaam,

How about using <jsp:plugin>. You can specify that this plugin is actually
an applet and you can also pass parameters to your plugin that is applet in
this case.
<jsp:plugin type="applet" ...>
<jsp:param name="yourparam" value="result">
</jsp:plugin>


regards
Yasir
----- Original Message -----
From: sufi malak <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 21, 2001 12:28 AM
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

Reply via email to