File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to instantiate Bean in servlet
Joined: Nov 16, 1999
Oct 21, 2000 01:37:00
I'm doing a web application using
's. How do i instantiate a bean in a
Author and all-around good cowpoke
Joined: Mar 22, 2000
Oct 21, 2000 15:12:00
Just like creating any other object.
MyBean b = new MyBean();
AFAIK the servlet api does not provide any shortcut initialization like the JSP <jsp:setProperty ....>
(but that is rather inefficient anyway)
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How to instantiate Bean in servlet
how to get the values in a servlet? the values are set in a bean using jsp
Instantiate a bean in a servlet
JSP to EJB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014