getting application or session contexts from within a bean

2000-02-09 Thread Richard A. Sand
Hi all,   Is there any easy way to get the application or session context from within a bean that is invoked from a JSP page?  I know that I can make get and set methods in the bean and then have the JSP page set them that way, but what I'm trying to do is make session beans that don't have

Re: getting application or session contexts from within a bean

2000-02-10 Thread Craig R. McClanahan
"Richard A. Sand" wrote: > Hi all, Is there any easy way to get the application or session > context from within a bean that is invoked from a JSP page? I know > that I can make get and set methods in the bean and then have the JSP > page set them that way, but what I'm trying to do is make ses

Re: getting application or session contexts from within a bean

2000-02-10 Thread Richard A. Sand
Hi Craig, List, What I've done is create a servlet that launches with Jrun that houses my database connection pool. I do it this way to ensure that my application has a common supply of connections, and the servlet functionality ensures that it launches before other apps and also allows me to ge