[jboss-user] [Beginners Corner] - Re: Common Beans???
PeterJ
do-not-reply at jboss.com
Mon Nov 27 12:08:27 EST 2006
First, please do not post the same question on multiple forums.
You could store the beans in the servlet context. For example, within doPost, you could have:
ServletContext ctx = this.getServletContext();
ctx.setAttribute("globalbean", bean);
and you can use getAttribute on the context to get it later.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988961#3988961
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988961
More information about the jboss-user
mailing list