File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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?
how to pass arraylist from jsp to java bean
multiple connections with URLConnection
Mapping Beans to Servlets
Casting subclass to superclass type
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014