jQuery in Action, 3rd edition
The moose likes JSP and the fly likes  JSTL library poblem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark " JSTL library poblem" Watch " JSTL library poblem" New topic

JSTL library poblem

naveen yadav
Ranch Hand

Joined: Oct 23, 2011
Posts: 384

hi ,

i have tring to use JSTL tag library ,somehow i am getting the Exception at run time.
i have added the jstl.jar file in /WEB-INF/lib directory of my application


Exception at runtime

HTTP Status 500 -

-type Exception report

message : descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception : org.apache.jasper.JasperException: /index.jsp(13,12) PWC6236: According to TLD or attribute directive in tag file, attribute value does not accept any expressions
note The full stack traces of the exception and its root causes are available in the Oracle GlassFish Server 3.1.1 logs.

how can i rectify that ?

Pete Nelson
Ranch Hand

Joined: Aug 30, 2010
Posts: 147

Do you have the right version of the JSTL for the uri you are using?

See http://dev-answers.blogspot.com/2006/12/according-to-tld-or-attribute.html for some useful advice. (I found this page by googling your error message, BTW).

In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

I can tell right away that you are using an old version of JSTL from the URI. Also, depending upon where you got your jar file(s), you may also need standard.jar.

[Asking smart questions] [About Bear] [Books by Bear]
naveen yadav
Ranch Hand

Joined: Oct 23, 2011
Posts: 384

hi Pete

i found that link very good .it really works. i just change the one line of code

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

hey Bear
as in my case standard.jar is not necessarily required.

thank you very much.

I agree. Here's the link: http://aspose.com/file-tools
subject: JSTL library poblem
It's not a secret anymore!