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
include jsp page in servlet
Joined: Dec 10, 2008
Dec 10, 2008 15:57:00
I have a jsp page which reads and store value from property file. I need to make use of that jsp page in
How can I do that.
Please help !
Joined: Oct 30, 2007
Dec 10, 2008 17:08:00
I need to make use of that jsp page in servlet.
What do you exactly mean by "making use", do you want to include the page in forward the control to it or any thing else? for the first two you can go ahead with "Request Dispatcher". Let us know the details so that others can help you out.
Author and ninkuma
Joined: Jan 10, 2002
Dec 10, 2008 17:11:00
Sounds as if you need to refactor that
into a Java class. You shouldn't be using JSPs for processing.
Asking smart questions
Books by Bear
Don't get me started about those stupid
subject: include jsp page in servlet
Servlet of a JSP
how to send cookie from one jsp page to another jsp page or to servlet
Servlet vs JSP
Invoke a method through URL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014