This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Java » JSP
Bookmark "include action tag in JSP" Watch "include action tag in JSP" New topic

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.
I agree. Here's the link:
subject: include action tag in JSP
It's not a secret anymore!