Gustavo,
you want to use the request taglib, for which there isn't any documentation
(hopefully soon there will be). Anyway, try this:
<esql:query>
select * from employee where empno=
<esql:parameter>
<request:get-parameter name="VAR"/>
</esql:parameter>
</esql:query>
You'll need to add a declaration for the request namespace in your xsp:page
element, like this:
xmlns:request="http://www.apache.org/1999/XSP/Request"
I think you will need to take out the quotes on your query string, like this:
http://localhost/cocoon/servlet/sql/esql.xml?VAR=000001
-Christopher
Thanks again,
Right, I need to do the first thing that you told me, I tried but with no
results, I have something like this:
<esql:query>select * from employee
where empno=<esql:parameter>VAR</esql:parameter>
</esql:query>
and in my browser the url is:
http://localhost/cocoon/servlet/sql/esql.xml?VAR="000001"
but, doesn't show information.
Maybe it is not very difficult, but I really starting with this things.
Thanks
Gustavo
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>