jQuery in Action, 3rd edition
The moose likes JSP and the fly likes EL evaluation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "EL evaluation" Watch "EL evaluation" New topic

EL evaluation

Medhat Menon

Joined: Nov 29, 2006
Posts: 4
Here is an Html form
<form action="Test.jsp">
First Food : <input type="text" name="food">
Second Food : <input type="text" name="food">

<input type="submit">

The user input for First Food in the form is "Cheese".

Inside Jsp

First Food request param : ${paramValues.food[0]}

In the above jsp code what does food[0] evaluate to?
[ December 06, 2006: Message edited by: Medhat Menon ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Did you try it?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63349

Is this an exam question? A homework question?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: EL evaluation
It's not a secret anymore!