|
Hello,
I have trying to evaluate an expression within the
value = "" of <jsp:param />. The problem is the value is not evaluated and
it is passed as a literal. Below is the code. I know it works because if I
manually enter the value the applet works fine. But if I use the "<%= data
%>" as I desired the <%= data %> is what the applet received. I am
using Tomcat v3.0. Please advise.
Thanks in advanced.
Stephen
<% String data =
request.getAttribute("Data").toString();%>
<p>The following is the data received from
the servlet:</p>
<p>Data: <% out.print( data );
%></p> <!-- this work fine -->
<p>Below is the resulting
table:</p>
...
<jsp:params>
<jsp:param name = "Data" value = "<%= data %>" /> </jsp:params> |
