File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Form error" Watch "Action Form error" New topic

Action Form error

sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
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(,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
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

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="" /></html ption>

if i remove option it is working fine.
Please help me,
I agree. Here's the link:
subject: Action Form error
It's not a secret anymore!