hey
rose,
If u r talking about passing a MYSQL query as a request parameter, then
you can always do that, u need to get the value in the JSP from
request parameter and use that as that for querying the DB.
If u r talking about querying DB from JSP directly, that is also
possible the same way as above except u will be having the query in JSP
rather than getting it from request parameter.
In case if u question is related to something else then better
clearly mention what exactly u r looking for.
Regards,
Javahunk