Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.servlet.ServletException: BeanUtils.populate

 
Rajesh Kumar Dharmalingam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>





 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic