Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getting error with JSTL tags  RSS feed

 
raju sangam
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am using JSTL core tags in my jsp page.
I copied all tld files with appropriate folder structure.

when I am trying run that page on browser, it shows error that
Unable to load class forEach
please help me out with this issue.

Regards,
Sangam
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question would be best answered in our JSP forums where the JSTL is discussed. I'll move this post there for you...
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A wee bit of info we need to help you:

What JSP version?
What JSTL version?
What Server (Tomcat, etc) Version?

Show us how you have declared your tags in the JSP and also show us how your web.xml doctype declaration. These are all things that can cause problems when it comes to using tag libraries.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by raju sangam:

I copied all tld files with appropriate folder structure.


This is a red flag that you have things configured incorrectly. You shouldn't be moving any tld files anywhere. You should only have to put the two jar files in the proper place. See the JSP FAQ for details.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!