File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL & Maps 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL & Maps " Watch "EL & Maps " New topic

EL & Maps

Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
Hi there!

I am trying run the following program but it seems the request , response object is not being passed on to the Result.jsp from the Servlet.
I think some one recently posted a similiar post , but i couldnt find it.

I am getting the out put :

Mapping numeric ("favFood",favoriteFood)

I think some one had mentioned about changing the scope , so I added

But that did'nt work...
Can some one throw some light here.. specially since this program worked with String and ArrayList..


The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Sai Surya
Ranch Hand

Joined: Feb 08, 2006
Posts: 463

The request attribute name you used is 'Numo', but in your EL you are using 'numo'.
This may solve the issue.

Sai Surya, SCJP 5.0, SCWCD 5.0, IBM 833 834, I believe in Murphy's law.
Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
Thanks Sai !

I thought u'd be online and give a reply!
I agree. Here's the link:
subject: EL & Maps
It's not a secret anymore!