Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet and HTML forms  RSS feed

 
Faisal Ahmad
Ranch Hand
Posts: 355
Chrome Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm studying the behavior of HTML forms when handled by Servlet. I came across the below statement, which I'm not able to understand clearly:

An HTML select element also sends a string to the header. If none of the options in the select element is selected, the value of the option that is displayed is sent.

Please help me understand the above statment.

Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65970
140
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first part makes no sense to me. The second simply says that the first option is the default.
 
Faisal Ahmad
Ranch Hand
Posts: 355
Chrome Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's definitely a mistake. The below sentence makes sense:

An HTML select element also sends a string to the server. If none of the options in the select element is selected, the value of the option that is displayed is sent.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!