This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes include action tag in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "include action tag in JSP" Watch "include action tag in JSP" New topic
Author

include action tag in JSP

badri nath
Ranch Hand

Joined: Dec 21, 2005
Posts: 57
Hi Folks
I have written a code in a servlet and now i want to include that in a JSP page. I want to display the output of servlet in JSP along with output of JSP page.
Im using include action tag but am not able to get servlet called.
I hope im making sense.
S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
You can set the output from the servlet in an attribute and then get the attribute in the JSP and display it along with your JSP.
badri nath
Ranch Hand

Joined: Dec 21, 2005
Posts: 57
Hi Bitz
Thanks for your quick reply. I'll check that out and get to you if i have any more regarding this.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: include action tag in JSP
 
Similar Threads
include - directive and action
About frames in jsp
question on JSP directive
include vs forward
difference between tages jsp:include and jsp:directive.include