A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to show a jsp after bean procesing is done?
Joined: Oct 22, 2002
Jul 20, 2004 10:29:00
I am sending some data to database. After it's done I want to show a jsp page from the bean. How can i do it? I am using
i tried this-
but it gives error that..undefined getServletContext()
what's problem here?
Joined: Dec 16, 2003
Jul 21, 2004 04:16:00
I think you mean:
you forgot to mention
Joined: Oct 17, 2001
Jul 22, 2004 22:24:00
getServletContext() is a method available with session. if you are trying to get the servlet context then use request.getSession(false).getServletContext();
I agree. Here's the link:
subject: how to show a jsp after bean procesing is done?
multiple connections with URLConnection
how to pass arraylist from jsp to java bean
Casting subclass to superclass type
Mapping Beans to Servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014