I have a bean which has a constructor with some arguments
I have to invoke it thtough JSP
I am doing follwing thng in my scriptlet tag
<% SomeObj x = new SomeObj(...);
bar.FooBean foobar = new FooBean(x);
application.setAttribute("foobar",foobar);
%>
where foobar is the name of the bean class
now my doubt is how can i retrive the bean
is there any method like
application.getAttribute() or some other way???
I have to invoke it thtough JSP
I am doing follwing thng in my scriptlet tag
<% SomeObj x = new SomeObj(...);
bar.FooBean foobar = new FooBean(x);
application.setAttribute("foobar",foobar);
%>
where foobar is the name of the bean class
now my doubt is how can i retrive the bean
is there any method like
application.getAttribute() or some other way???