Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > EJB
| Search | Today's Posts | Mark Forums Read
EJB Be sure to indicate the version you use.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the EJB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2007, 05:37 AM
Registered User
 
Join Date: Jun 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default java.lang.IllegalArgumentException: No bean specif

<form-bean name="FileUpload" type="roseindia.net.StrutsUploadForm"/>
<action path="/FileUpload" type="roseindia.net.StrutsUploadAction" name="FileUpload" scope="session" parameter="parameter" input="/pages/FileUpload.jsp">
<forward name="success" path="/pages/uploadsuccess.jsp"/>
</action>
<action path="/popsup" type="roseindia.net.StrutsUploadAction" name="FileUpload" scope="session" parameter="parameter" input="/pages/uploadsuccess.jsp">
<forward name="success" path="/pages/uploadsuccess.jsp"/>
</action>

in the uploadsuccess.jsp
i have
<html:select property="valueObj.id" name="FileUpload">
   <html:optionsCollection property="objectList" value="id" label="fullName"/>
</html:select>
<html:submit/>
My form Bean property is private ArrayList objectList; //list of valueObject
private valueObject valueObj; //has getters ans setters for id, firstName, lastName and only getter for fullName

After clicking the submit t got the following error

java.lang.IllegalArgumentException: No bean specified org.apache.commons.beanutils.PropertyUtils.getProp ertyDescriptor(PropertyUtils.java:837) org.apache.commons.beanutils.BeanUtils.setProperty (BeanUtils.java:934) org.apache.commons.beanutils.BeanUtils.populate(Be anUtils.java:808) org.apache.struts.util.RequestUtils.populate(Reque stUtils.java:1252) org.apache.struts.action.RequestProcessor.processP opulate(RequestProcessor.java:821) org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:254) org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482) org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:525) javax.servlet.http.HttpServlet.service(HttpServlet .java:717) javax.servlet.http.HttpServlet.service(HttpServlet .java:810)




Similar Threads
Thread Thread Starter Forum Replies Last Post
Root Cause:java.lang.NoSuchMethodError: java.util. anees81 JSP Basics 3 March 1st, 2011 08:55 AM
java.lang.OutOfMemoryError: Java heap space meetkotresh J2EE 1 February 2nd, 2008 01:52 AM
java.lang.StackOverflowError ravi_sri24 XSLT 31 February 1st, 2008 09:48 AM
java bean VS ejb kishore.dyn J2EE 0 February 20th, 2006 01:58 AM
java.lang.Runtime mudasirw J2EE 1 August 2nd, 2005 02:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.