-
pageContext.include() from doAfterBody()
Hello all, thanks in advance if any one could help me to solve this.
I have written a custom tag which extends "BodyTagSupport", my problem is, i would like to include a jsp page in doAfterBody() method, i did that by using pageContext.include("resource.jsp"), the file is getting called but the html output is not getting rendered along with the tag's output, what might be the cause ?.
one thing i have observed is, if the same statement "pageContext.include("resource.jsp")" is written in doStartTag() or doEndTag() of the same custom tag the output of this resource.jsp will render properly with the tags output.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks