Just a guess... I've had several problems where the compiled page screws
up when it hits quotes. Try changing the double quotes (") to single
('), or none at all.
Also be sure to declare your variables: <%!int jspID;%> or whatever, so it
is in scope.
Chris
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 2/4/01, 1:03:22 PM, "David Treves" <[EMAIL PROTECTED]> wrote
regarding adding dynamic content to <jsp:param>:
> Hi, I tried to create a page which dynamically will add an id to each
user
> who enters the page, this id should be used by an applet. In order to do
so
> I used JSP to create that id, and now I am trying to insert that number
as a
> parameter to the applet:
> <jsp:plugin type="applet" code="foo" codebase="/foo/bar" height="400"
> width="300">
> <jsp:params>
> <jsp:param name="id" value="<%=jspID%>"/>
> </jsp:params>
> <jsp:fallback>
> <b>oopsss... can't load the applet!</b>
> </jsp:fallback>
> </jsp:plugin>
> Only that the "<%=jspID%> is not allowed by the Tomcat, it tells me that
the
> attribute (id) has no value.
> Is there a problem with giving params values that way?
> Thanks,
> David.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]