Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > EJB
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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 path="/popsup" type="roseindia.net.StrutsUploadAction" name="FileUpload" scope="session" parameter="parameter" input="/pages/uploadsuccess.jsp">
<forward name="success" path="/pages/uploadsuccess.jsp"/>

in the uploadsuccess.jsp
i have
<html:select property="valueObj.id" name="FileUpload">
   <html:optionsCollection property="objectList" value="id" label="fullName"/>
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)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 08:22 PM.

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