Hi Friends, I,m trying to use jstl with Tomcat4.0.3 for transforming xml to html using xslt. The problem is while i load the page to transform i get the error which says uri http://java.sun.com/jstl/xml cannot be resolved either by web.xml or standard.jar but actually iuse all the required jars(xalan.jar, standard.jar, jstl.jar, serialization.jar). how to resolve this problem?
Hi Ben thanks for your reply. i have resolved the issue. the problem is, the jstl 1.0 works fine with tomcat4.0.4 and higher versions but not with the Tomcat4.0.3 due to a bug. the way around is according to jstl 1.0 readme document you have to download the jakarta-taglibs-standard-oldxml-compat.zip and put the jar files inside WEB-INF/lib directory.
But now i have another issue to solve. the jsp page which has the transformation jstl implementation loaded but doe's not display any html. insted it display's a empty page. what is this problem and could you help me again?
Originally posted by K.Suresh Kumar: transformation jstl implementation loaded but doe's not display any html. insted it display's a empty page. what is this problem and could you help me again?
The first thing I do when I see an empty browser window is use the "view source" feature to look at the HTML. Often the problem is just a mistake in the HTML.
If there really isn't any source going to the browser, then I look at the server's logs to see what if anything blew up. If I still didn't find anything then I would start stepping through the code to try to figure out what the problem is.
Joined: Nov 21, 2007
Ben as you mention in the reply i found that the problem is in xslt file which has <script/> part inside it. if remove that then it displays html page correctly.
again i need that <script> part also in my xslt i have given both the xslt files snippet here check it out.
========================================================================== the on which does not diplay html but if i use the view source i can see that it is writing to the browser but not displayed as html, ==========================================================================