This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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 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: 63540

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="" %>
<%@ taglib prefix="c" uri="" %>

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

thank you very much.

subject: JSTL library poblem
jQuery in Action, 3rd edition