You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Maciej KoĆodziej <Ma...@comarch.pl> on 2002/01/16 16:50:16 UTC
Re[4]: Problem with mapped properties
Hi,
In Your mail sent Wednesday, January 16, 2002 You wrote:
RT> I was just wrestling with the same problem and found the following in the
RT> JSP 1.2 Spec.
RT> JSP.2.13.1 Request Time Attribute Values
RT> <snip>
RT> The expression must appear by itself (multiple
RT> expressions, and mixing of expressions and string constants are not
RT> permitted).
RT> </snip>
Right. So I suppose, that something like that inside a dbtags:resutSet
tag is impossible:
<sql:resultSet id="rs" name="schemes" scope="request" loop="true">
<html:option value='<dbtags:getColumn colName="name"/>'>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<dbtags:getColumn colName="name"/>
</html:option>
</sql:resultSet>
So how should I do that? Just create a String variable like:
<% String name = ... %>
And how can I get to that "rs" result set from inside <% %>?
--
Best regards,
Maciej
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>