• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL evaluation

 
Medhat Menon
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this an exam question? A homework question?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic