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

Reply via email to