Hi Mario,

Try using:
<param name="MYNAME" value='<%=var%>'>

hth,
Govind

"Pizzonia, Mario Carmelo" wrote:
>
> Hi everyone,
> I'm working with JSP1.0 and I have a trouble with the tag
> <jsp:plugin><param name="MYNAME" value="ANTONIO">
> The strings myname and antonio must be quoted otherwise it falls in
> compilation error.
> But I have the need to evaluate a variable with <%=var%> so :
> <param name="MYNAME" value="<%=var%>"> but in this case it doesn't
> evaluate the expression but send out the value <%=var%>.
> If I don't put the " " it falls in compilation error.
> How can I do to set a value the must be the evaluation of an expression ??
> (my particular expression is <%=session.getValue("parameter")%>)
> Thanks a lot for an answer.
>
--
Govind Seshadri <[EMAIL PROTECTED]>
jGuru.com - The Java Portal
Check out our JSP FAQ:
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to