Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<%@ include..> equivalent in a custom Tag

Status
Not open for further replies.

ben99

Programmer
Feb 10, 2003
2
GB
I have written a tag that needs to include pages in a static way i.e. like the <%@ include ..> directive.

At present I am using pageContext.include() - this seems to try to evaluate the included JSP before including (i.e. like <jsp:include ..>)

So is there a way to do a <%@ include ..> equivalent from code in a custom tag? I realise that by definition a compile time include is not possible here but has anyone got a good workaround?

Cheers,

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top