Sorry, the docs should say that a String object is created, not an Integer. I'll fix the docs.
Nick Pellow wrote on 10/10/01 3:57 am: >Hi, >I read in the doco that: > 1.. Write the column value, >as a String, to a page >attribute via the "to" >attribute. If you want, you >may optionally assign a >scope other than "page" with >the "scope" attribute. If the >database column is null, the >getColumn tag will not create >an attribute. Here's a >getColumn tag that creates >an Integer request attribute: > ><%-- Note that the request >attribute will be a String >--%> <sql:getColumn >position="1" to="someId" >scope="request"/> > >Is there a reason why the >value could not be put into >the request as an Object >instead of a String. I think >the last line in the doco is a >little confusing by saying >that an Integer request >attribute is created, >when in fact, "the request >attribute will be a String". > > >Cheers, >Nick _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com