cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohamed ramzy <m_ra...@yahoo.com>
Subject SQL and XSP!!!!
Date Wed, 31 May 2000 13:11:13 GMT
hi
i want to make a dynamic query by useing XSP with SQL,
i did a simple Query but it didn't work ..which is


<xsp:logic>
String[] tst=request.getParametersValues("type");
</xsp:logic>
<query connection="first">
select * from pet
where species= "<xsp:expr>tst[0]</xsp:expr>"
</query>

where "type" holds the name of a species.....
it didn't work///

does anyone has an idea!!!!!

Thanx in Advance



__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Mime
View raw message