Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 58552 invoked from network); 17 May 2004 22:04:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 May 2004 22:04:50 -0000 Received: (qmail 53165 invoked by uid 500); 17 May 2004 22:04:34 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 53119 invoked by uid 500); 17 May 2004 22:04:33 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 53086 invoked by uid 98); 17 May 2004 22:04:33 -0000 Received: from ryee86@yahoo.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(66.218.93.102):. Processed in 0.012396 secs); 17 May 2004 22:04:33 -0000 X-Qmail-Scanner-Mail-From: ryee86@yahoo.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(66.218.93.102):. Processed in 0.012396 secs) Received: from unknown (HELO web41602.mail.yahoo.com) (66.218.93.102) by hermes.apache.org with SMTP; 17 May 2004 22:04:33 -0000 Message-ID: <20040517220358.14120.qmail@web41602.mail.yahoo.com> Received: from [214.3.118.1] by web41602.mail.yahoo.com via HTTP; Mon, 17 May 2004 15:03:58 PDT Date: Mon, 17 May 2004 15:03:58 -0700 (PDT) From: Richard Yee Subject: Re: java.lang.IllegalArgumentException: No bean specified To: Struts Users Mailing List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Paraman, Are you submitting a form to the action? If so, you don't have the name of the form-bean as the 'input' argument to your executeEvaluation action. Regards, Richard --- Paraman wrote: > Richard, > Thanks for your kind help. Following is the content > of my struts-config.xml and I am invoking the > "/executeEvaluation" action. > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > /// struts-config.xml > /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > Foundation//DTD Struts Configuration 1.1//EN" > > "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> > > > > > > > > > type="org.apache.struts.action.DynaActionForm"> > type="java.lang.String"> > type="java.lang.String"> > > type="cmmieval.web.struts.forms.RegistrationForm"> > type="cmmieval.web.struts.forms.EvaluationForm"> > type="cmmieval.web.struts.forms.ProcessAreasForm"> > type="cmmieval.web.struts.forms.PrepareEvaluationForm"> > > > > > > > > > path="/editRegistration.do?action=create"> > path="/mainMenu.jsp"> > path="/prepareEvaluation.do"> > > > > path="/editRegistration.do?action=edit"> > > > > > > type="cmmieval.web.struts.actions.LogonAction" > name="logonForm" scope="request" > input="/logon.jsp"> > type="cmmieval.web.struts.actions.EditRegistrationAction" > name="registrationForm" scope="request" > validate="false"> > path="/registration.jsp"> > > name="processAreasForm" scope="session" > type="cmmieval.web.struts.actions.SelectProcessAreasAction" > input="/prepareEvaluation.do"> > path="/executeEvaluation.do"/> > > > > type="cmmieval.web.struts.actions.ExecuteEvaluationAction" > name="evaluationForm" scope="request" > validate="false"> > path="/evaluation.jsp"/> > > type="cmmieval.web.struts.actions.PrepareEvaluationAction" > name="prepareEvaluationForm" scope="request" > attribute="prepareEvaluationForm" validate="false"> > path="/prepareEvaluation.jsp"> > > name="prepareEvaluationForm" scope="request" > type="cmmieval.web.struts.actions.InitializeProcessAreasListAction" > input="/prepareEvaluation.do" validate="false"> > path="/listProcessAreas.do" /> > > name="registrationForm" scope="request" > type="cmmieval.web.struts.actions.SaveRegistrationAction" > validate="true" input="/registration.jsp"> > name="processAreasForm" scope="session" > type="cmmieval.web.struts.actions.ListProcessAreasAction" > validate="false"> > path="/listProcessAreas.jsp"/> > > name="evaluationForm" > type="cmmieval.web.struts.actions.SaveEvaluationAction" > scope="request" validate="false"> > path="/executeEvaluation.do"> > path="/review.jsp"/> > > > > > parameter="cmmieval.resources.ApplicationResources" > /> > > > className="cmmieval.web.struts.plugins.AccountDatabasePlugin"> > value="/WEB-INF/database.xml" /> > > className="cmmieval.web.struts.plugins.CMMIOntologyPlugin"> > value="/WEB-INF/CMMI1_1.owl" /> > > className="cmmieval.web.struts.plugins.EvaluationDatabasePlugin"> > value="/WEB-INF/DATA/"/> > > > > ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > Regards, > > Paraman > > ----- Original Message ----- > From: "Richard Yee" > To: "Struts Users Mailing List" > > Sent: Sunday, May 16, 2004 10:57 PM > Subject: Re: java.lang.IllegalArgumentException: No > bean specified > > > > With the information you provided, it is hard to > tell what the problem is. > > Send the contents of your struts-config.xml and > which action you are invoking. > > > > Regards, > > > > Richard > > > > At 07:16 AM 5/16/2004, you wrote: > > >Hi, > > >I am writing a web application based on Struts > and encountered a problem. > > >When I ran it on Tomcat, I got the following > exception: > > >java.lang.IllegalArgumentException: No bean > specified > > > > > > >org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837) > > > > > > >org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934) > > > > org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) > > > > org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252) > > > > > > >org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) > > > > > > >org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) > > > > > > >org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > > > > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > === message truncated === __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org