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
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
I think thats kinda it. I think whats happening is that the jsp was
being called before the webapp had ever touched the servlet (i.e. the
user could go straight to the jsp). Therefore maybe the form doesn't
know which servlet its talking to.
Is there a way to get the context attribute without
3 matches
Mail list logo