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
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 JSP into a
class. You shouldn't be using JSPs for processing.
Asking smart questions
Books by Bear
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: include jsp page in servlet
Invoke a method through URL
Servlet vs JSP
how to send cookie from one jsp page to another jsp page or to servlet
Servlet of a JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015