This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Spring and the fly likes Type [java.lang.String] is not valid for option items Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Type [java.lang.String] is not valid for option items" Watch "Type [java.lang.String] is not valid for option items" New topic
Author

Type [java.lang.String] is not valid for option items

Aman Singh
Ranch Hand

Joined: Oct 30, 2008
Posts: 57
Hi Experts,

I have a jsp page which has a form. This page dsiplays some text generated using the controller.

Today when i incorporated this new form in the page, I am getting the error :

Type [java.lang.String] is not valid for option items

I am using the similar kind of form on other pages and it seems to be working fine.

Do I need to make any changes in this controller code?
Your help is grealy appreciated



JSP PAGE:

 
jQuery in Action, 2nd edition
 
subject: Type [java.lang.String] is not valid for option items