A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Can a servlet include jsp files?
Ryan Yeap
Greenhorn
Joined: Apr 28, 2001
Posts: 28
posted
Sep 05, 2001 01:38:00
0
Is there a way? for
servlets
to include external jsp files to compile and display them?
thanks
<A HREF="http://www.mmorpgforums.com" TARGET=_blank rel="nofollow">An Online community for Online RPGs!</A>
Alejandro Villalobos
Greenhorn
Joined: Sep 17, 2001
Posts: 1
posted
Sep 17, 2001 12:47:00
0
yes, including jsp files in a
servlet
like in a jsp is possible, you have to use the following sentences:
request.getRequestDispatcher("/myJsp.jsp").include(request,response);
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Can a servlet include jsp files?
Similar Threads
Getting JSP given HTML(Urgent)
Resolving a URL in include action tag?
about .jspf files
What are include files in jsp?
Programming HTML content inside Custom Tag Handler
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter