Hi,
Shawn Bayern wrote:
| On Thu, 13 Jun 2002, Wolfgang R�ckelein wrote:
|>is it possible to set a BigInteger property with the c:set target=""
|>property="" in the EL JSTL? Same for a parameter in a prepared SQl
|>statement?
|
| You can set any sort of property with
|
| <c:set target="..." property="..." value="..." />
|
| The type of the property depends on the type of the expression in 'value'
| and the type of the target property. Note that <c:set> performs no
| conversion between Integer and BigInteger or any other custom stuff like
| that.
I want in the value="" an EL expression, e.g. value="${1+test}". Now if the
target property is of Integer type, a type coercion is needed and done (as far
as I understand the spec). I assume that this does not directly work if the type
of the target property is a BigInteger. With the RT lib, I would of course write
value="<%= new BigInteger(1+test)%>". Is the a way to accomplish this with the
EL lib?
Greetings,
~ Wolfgang
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>