File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Error when using xml tags Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Error when using xml tags" Watch "Error when using xml tags" New topic
Author

Error when using xml tags

Jose Mon
Ranch Hand

Joined: Feb 13, 2007
Posts: 30
Consider the following code

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x"%>

<c:import var="myxml" url="myxml.xml"/>
<x:parse var="rss" xml="${myxml}"/>

When I am running this I get error message like
According to TLD or attribute directive in tag file, attribute xml does not accept any expressions.

Do anyone know the problem?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56540
    
  14

As per forum instructions, please include what versions of JSP and JSTL you are using, along with how you have your deployment descriptor declared.
[ February 14, 2007: Message edited by: Bear Bibeault ]

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Error when using xml tags
 
Similar Threads
Not able to access JSTL tags
JSTL error
Websphere6 and JSTL1.1 error
JSTL 1.1 uri should be "core_rt" ?