Only work around I have found is to have the servlet generate a html page
that loads the plugin properly. The Servlet forwards to the JSP and via an
attribute loads the generated page.
Hope it helps,
Stephen
----- Original Message -----
From: "Ware, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 03, 2000 2:08 PM
Subject: FW: HELP: plugin and expressions used for values
> Hi Stephen,
> I'm having the same problem and wonder if you found a workaround.
>
> Thank you
>
> john ware
> [EMAIL PROTECTED]
>
> > -----Original Message-----
> > From: Stephen Townsend [SMTP:[EMAIL PROTECTED]]
> > Sent: Sunday, March 05, 2000 8:40 PM
> > To: jakarta, tomcat
> > Cc: JSP interest
> > Subject: HELP: plugin and expressions used for values
> >
> > Hello,
> >
> > I have tried using Tomcat v3.0 and v3.1M1. Both fail to take an
expression
> > as a param value. Below I describe what I am trying to do. It is my hope
> > that someone can direct me to a proper solution.
> >
> > I have been trying to using a servlet to forward info to a JSP which
> > launches a plugin. The plugin parameters need to be data obtained from
the
> > servlet. The servlet sets a attribute. Once the attribute is obtained it
> > the
> > forwarding JSP code resembles:
> >
> > <% String numberOfColumns =
> > request.getAttribute("NumberOfColumns").toString(); %>
> >
> > <jsp:plugin type="applet" code="Columns" jreversion="1.2" width="500"
> > height="250" >
> > <jsp:params>
> > <jsp:param name = "NumberOfColumns" value = "<% columns; %>" />
> > </jsp:params>
> > <jsp:fallback>
> > Plugin tag OBJECT or EMBED not supported by browser.
> > </jsp:fallback>
> > </jsp:plugin>
> >
> > This does not work. Any expression I use for the value is taken as a
> > literal
> > string, even though the standard on Sun's site for a param value states
an
> > expression can be used.
> >
> > Some please help identify where I have gone wrong.
> >
> > Stephen
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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