Win a copy of Learning Java by Building Android Games this week in the Android 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
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Failed to parse the expression exception  RSS feed

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.

On the site im developing im coming into a JSTL EL error. I'm just testing this atm before I implement it:



The first c:set works and displays the file contents by expressing ${file}. But when using c:set getFolderNames() which returns an ArrayList I get the following exception:



It's not letting me c:set an ArrayList for some reason. Any ideas very much appreciated! Many thanks.

PS: I'm initializing the FileIO object with jsp:useBean in this test JSP because in my main implementation I'm initializing FileIO from admin.class and setting then setting it as a request attribute then forwarding.
 
Michael Portman
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fixed it my self lol. It was the amount of slashes I was using. I only needed to use one and it worked. Thanks anyway
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!