File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Type [java.lang.String] is not valid for option items