Magnus Stenman wrote:
> Either:
> request.setAttribute("name", object);
> servletContext.getRequestDispatcher("/servlets/OtherServlet").forward(reques
> t, response);
>
> Or:
> request.getSession().putValue("name", object");
> if you want to use it in another request...
Oh!! Thanx!!! In detail my problem is this I'm going to explain:
I have a servlet 'A' who should call a servlet 'B' to execute an
SQL statement using JDBC. Then the servlet 'B' should send to
servlet 'A' the resultset object result of the query SQL. The problem
is: could the Servlet 'A' call the Servlet 'B' and wait the ResultSet
returned from Servlet 'B' before continue the program flow??
Thank's in advance
Regards
Carlo
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html