Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

db tag attribute

Status
Not open for further replies.

Kyuss

Programmer
Feb 21, 2001
15
AU
hopefully somebody can help me out with this

i am using the beta custom tag library <dbtags> for reading/writing to a sql db.


doc:

now after a simple select query, instead of returning the resultset and imeadiatly displaying it to the screen like:

<sql:getColumn colName=&quot;stuff&quot;/>

i want to be able to manipulate this data which should store the result in some sort of variable that is mentioned as a servlet attribute?

<sql:getColumn colName=&quot;stuff&quot; to=&quot;varName&quot; scope=&quot;page&quot;/>

this seems to work fine, i just dont know how to access this data after the query is executed

hope this makes sense...

thanks in advance

brendan and the circus leaves town...
 
darn, once again after some friday frustration, come in on monday and solve the prob. simple as it was and i really should have read the included docs in the war file, when will i learn!!??!

anyway, this is what i was meant to do if anyone cares =)

pageContext.getAttribute(&quot;varName&quot;)

simple really....... and the circus leaves town...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top