File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "JasperException with RSS and JSTL" Watch "JasperException with RSS and JSTL" New topic

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é

Joined: Nov 24, 2005
Posts: 14688

You're using JSTL 1.0 (uri=""), and the xml attribute of the parse tag does not accept expressions like EL.

Maybe you want to try JSTL1.1 (uri=""), 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: 1323

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="" %>

1.1 URI
<%@ taglib prefix="c" uri="" %>

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
I agree. Here's the link:
subject: JasperException with RSS and JSTL
It's not a secret anymore!