• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Action Form error

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will find the answer by looking at question 10 in the JavaRanch Struts FAQ
 
sridhar lakka
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic