Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to get objects from an included
Joined: Jun 20, 2001
Jun 26, 2001 09:49:00
i have a
that needs objects wich are generated in a
i need to include this servlet in the jsp and need to be able to get objects from the
how can this be done?
Joined: Oct 12, 2000
Jun 26, 2001 10:12:00
You set the objects as attributes in the HttpServletRequest object and access them in the JSP.
request.setAttribute("objectName", new Object());
Object obj = request.getAttribute("objectName");
I agree. Here's the link:
subject: how to get objects from an included
How we handle differet objects from the jsp page in servlet
Calling Servlets from a jsp
servlet to jsp
Pooling of Servlet
Servlet needs to pick up page name
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015