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 JasperException with RSS and JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JasperException with RSS and JSTL" Watch "JasperException with RSS and JSTL" New topic
Author

JasperException with RSS and JSTL

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Hello there,

I am getting the following exception when trying to invoke a JSP page (which uses JSTL for RSS functionality):



MyPage.jsp's contents are:



Any help, suggestions, and tips are greatly appreciated!

Thanks again,
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

You're using JSTL 1.0 (uri="http://java.sun.com/jstl/xml"), and the xml attribute of the parse tag does not accept expressions like EL.

Maybe you want to try JSTL1.1 (uri="http://java.sun.com/jsp/jstl/xml"), which accepts expressions. The xml attribute is deprecated in 1.1, so use the doc attribute instead.


[My Blog]
All roads lead to JavaRanch
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Just posting a solution after googling about this problem. Hope you will solved your problem with the help from Josh Brown. This is what he wrote

If you're getting the error "According to TLD or attribute directive in tag file, attribute items does not accept any expressions.", you're probably using an outdated URI for the core tag library.

1.0 URI
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

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


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JasperException with RSS and JSTL