>But how can I pass these changes to the
> instanciated Object and into the next Servlet? Is it at all possible??

If the scope is request then you can set the object reference in the request
before
forwarding or including the next servlet

for e.g.

request.setAttribute("currentUserProfile", userProfile);
servletContext.geRequestDispatcher("/nextServlet").forward(request,response)
;

If the scope is session then you can set the object reference in the session
and it would
be available throughout the scope of the session.

for e.g.
session.setAttribute("currentUserProfile", userProfile);

-Shiraz

___________________________________________________________________________
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

Reply via email to