wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp include with tld" Watch "jsp include with tld" New topic
Author

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.
 
jQuery in Action, 2nd edition
 
subject: jsp include with tld