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


Christopher Painter-Wakefield wrote:

> Gustavo,
>
> you're welcome.  There are probably many ways to do what you are asking;
> you should probably get a book on servlet programming or web application
> development.  Anything that you can do with CGI or servlets you can do (I
> believe) with XSP and Cocoon.  So, for instance, you can pass parameters in
> the query string (http://myserver.org/cocoon/myquery.xml?empno=1234), or
> you can store stuff in the session, or you can store stuff in a database,
> etc.  Is there a specific approach you wanted to ask about?
>
> -Christopher
>
> Thanks Christopher,
>
> But now, how can I assign the variable from other XML, how can I pass to
> the XML with my query ?
>
> I really apreciate your hellp !
>
> 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]>


---------------------------------------------------------------------
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]>

Reply via email to