• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSTL library poblem

 
Ranch Hand
Posts: 384
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

index.jsp



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 ?


 
Ranch Hand
Posts: 147
Eclipse IDE Tomcat Server Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
naveen yadav
Ranch Hand
Posts: 384
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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" %>
to
<%@ 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.


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic