This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes jstl xml error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "jstl xml error" Watch "jstl xml error" New topic

jstl xml error

srikanth arroju
Ranch Hand

Joined: Aug 02, 2006
Posts: 66
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
Have you checked out Aspose?
subject: jstl xml error
It's not a secret anymore!