Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with JSLT  RSS feed

 
Rafael Afonso
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:
I downloaded the archive with the Java Standart Tags Libraries from Jakarta site. I unpacked the standard-examples.war archive that comes with the zipped archive, I installed in Tomcat directory and I started it. When opening a non-JSP page there is no problem. When opening an archive JSP is shown the following message of error:

500
This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application

This makes reference to tag that it opens the JSPs:
< % @ taglib prefix="c "uri="http://java.sun.com/jstl/core" % >
. What was my fail? Something about web.xml file?
Thanks,
[ October 03, 2002: Message edited by: Rafael Afonso ]
[ October 03, 2002: Message edited by: Rafael Afonso ]
[ October 03, 2002: Message edited by: Rafael Afonso ]
 
Piyush Daiya
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Pls, check out your web.xml and see that below line is present:-
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>

If, it is there, then check if in WEB-INF folder c.tld exists or what ever file and path mentioned in the <taglib-location> tag exists.
Hope this helps,
Piyush
 
Rafael Afonso
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Yes, my web.xml has a Taglib fileld about c.tld and c.cld is in WEB-INF directory. I am compiling with JBuilder 5. When I compile JSP pages There i sthese messages:

"ShowSource.jsp": org.apache.jasper.JasperException: Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd".
"ShowSource.jsp": Unable to open taglibrary http://java.sun.com/jstl/core : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd". at line 10, column 1

So, What do I do?
Thanks,
[ October 04, 2002: Message edited by: Rafael Afonso ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!