It's not a secret anymore!*
The moose likes Struts and the fly likes Action Form error 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 » Frameworks » Struts
Bookmark "Action Form error" Watch "Action Form error" New topic
Author

Action Form error

sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
Hi,
Thanks in advance.
I have JSP page in which i am displaying some records.After some modifications i have to submit that page and page should redirect to the same page.
On first time that is clikcing on some menu, there i have given my do(x.do),and which is displaying records perfect, but once i click on submit button or on submitting the page i am getting the following error.
"E SRVE0026E: [Servlet Error]-[BeanUtils.populate]: java.lang.IllegalArgumentException: argument type mismatch".
I think there is a problem with actionform but i couldnot find.
And one more thing, i tried by passing one value throgh query string also, even it is not taking that value.

Please help me
Regards,
Sree
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You will find the answer by looking at question 10 in the JavaRanch Struts FAQ


Merrill
Consultant, Sima Solutions
sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
Thanks for your replay,
But that is not working.
Iam facing the problem with the following lines,

<html:select size="1" property="userGroupId" value="lstGroupName" name="newUserForm" >
<html ption value=""><bean:message key="user.select.default" /></html ption>
</html:select>

if i remove option it is working fine.
Please help me,
Regards,
Sree
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action Form error