Re: How to access the Struts ConnectionPool from an ActionForm

2002-11-21 Thread Steven Citron-Pousty
ave "evaporated". amrinder - Original Message - From: "Steven Citron-Pousty" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: "Jagdish Arora" <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 11:04 AM Subject

RE: How to access the Struts ConnectionPool from an ActionForm

2002-11-21 Thread Assenza, Chris
Steve, If memory serves, I don't think you can get the ActionServlet (thus the servlet) from the Form; but it's been a long time since I last looked at that stuff and I may well be incorrect on that - it's just a guess. As for the db call issue, it makes more sense for something like that to be

Re: How to access the Struts ConnectionPool from an ActionForm

2002-11-21 Thread Steven Citron-Pousty
The servlet is null. So then how and what do I tell the actionform is its servlet. Thanks, Steve PS I still am interested in ppls view on whether all DB calls are model or there is a case when you could consider the DB call view Jagdish Arora wrote: Steven, since you are getting a NPE, could

Re: How to access the Struts ConnectionPool from an ActionForm

2002-11-20 Thread Jagdish Arora
Steven, since you are getting a NPE, could you tell us if is it the servlet that is null, or is servlet.getServletContext() that is null? amrinder - Original Message - From: "Steven Citron-Pousty" <[EMAIL PROTECTED]> To: "struts-user" <[EMAIL PROTECTED]> Subject: How to access the Struts