File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes javax.servlet.ServletException: BeanUtils.populate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "javax.servlet.ServletException: BeanUtils.populate" Watch "javax.servlet.ServletException: BeanUtils.populate" New topic
Author

javax.servlet.ServletException: BeanUtils.populate

Rajesh Kumar Dharmalingam
Greenhorn

Joined: Sep 17, 2009
Posts: 6
Hi I am getting the below error.

javax.servlet.ServletException: BeanUtils.populate
SystemErr at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
SystemErr at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
SystemErr at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
SystemErr at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
SystemErr at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)


I am using Websphere 6.1 server and struts framework. I have the form name mapped correctly in form and struts-config.xml. Also I dont have any property other than String and it has public getters and setters. Can any one help ?

Struts-config.xml:
-----------------------

<form-bean name="BookForm" type="com.test.BookBean"/>

<action path="/book" type="com.test.BookAction" input="book.jsp" name="BookForm" scope="request">

<forward name="FAILURE" path="newBook.jsp"/>
<forward name="SUCCESS" path="error.jsp" />
</action>





 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.servlet.ServletException: BeanUtils.populate