This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes jsp include with tld Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp include with tld" Watch "jsp include with tld" New topic

jsp include with tld

Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
I want to make whether <%@ include file = "....." %> will work with tld or not? Let me explain the scenario.

Actually In the direction.jsp which has defined all tag library as follows




<%@ taglib uri="/WEB-INF/tlds/workstatus.tld" prefix="WS" %>
<%@ taglib uri="/WEB-INF/tlds/applyChange.tld" prefix="AC" %>

In homepage.jsp, I have used included option as follows.

<%@ include file = "/frameworkIncludes/directives.jsp" %>

If I used above format the home.jsp page is not working properly. Nothing as displayed in the brower but if I moved taglib uri code to homepage it is working. I have lot of jsp page, so I don't want to do.

Could pls let me know where it went wrong.
[ February 13, 2008: Message edited by: Bear Bibeault ]

Thanks and Regards
Chandra Mohan
Chandra Mohan
Ranch Hand

Joined: Oct 06, 2003
Posts: 62
Sorry for the mistake (I put wrong jsp file name in the posting). Pls let me know if you have idea why tld is not working in jsp include file.
I agree. Here's the link:
subject: jsp include with tld
It's not a secret anymore!