This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "EL evaluation" Watch "EL evaluation" New topic
Author

EL evaluation

Medhat Menon
Greenhorn

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">
</form>

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
Sheriff

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
Marshal

Joined: Jan 10, 2002
Posts: 61084
    
  66

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