Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jstl xml error  RSS feed

Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
xml file

<title>Professional JSP</title>
<author>Brown et. al</author>
<published>September 2005</published>

jsp file

<%@ taglib uri="" prefix="c" %>
<%@ taglib uri="" prefix="x" %>
<c:import url="book.xml" var="url" />
<x:parse xml="${url}" var="book" scope="session" />
<x:when select="$book/book/publisher='Apress'">
Another great title from Apress!
<x:when select="$book/book/publisher='Bloggs Publisher'"
A reasonable title from Bloggs Publisher!
A title from an unknown publisher
<b><xut select="$book/book/title"/></b><br>
<xut select="$book/book/author"/><br>
<xut select="$book/book/url"/><br>

generated an error

org.apache.jasper.JasperException: Unable to load class for JSP
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!