Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

c:foreach--attribute problem

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Does anyone know why this code ...


produces this result ...

[Ljava.lang.String;@1629e71

Thank you.
[ January 07, 2006: Message edited by: Michael Clark ]
 
Ranch Hand
Posts: 528
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael.

I have tried this code as is and i got an error saying that the <c:forEach> tag's items attribute does not suport expressions. Which JSTL version are you using? 1.1? If so, try specifying the following uri: "http://java.sun.com/jsp/jstl/core"

Kind regards,
Marzo.
[ January 08, 2006: Message edited by: Marzo Khaan ]
 
Joseph Clark
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was getting that error.
I think I have solved my problem.
I used c-rt.tld in standard.jar,and it worked.
That must be why they say to use c-rt.tld instead of c.tld.
[ January 08, 2006: Message edited by: Michael Clark ]
 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends
I was getting this error.org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

can you please explian why am I getting this error??
Thank you very much in advance

Shanthi
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that you should have jstl.jar and standard.jar in your lib directory.
 
shanthisri mocherla
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Satou

I've copied both the jar files ,but did not place them in WEB-INF/lib.
That was the problem.

Thanks once again.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic