Problem was resolved. but the reason was not exactly clear to me. What I am doing was: I was using the "<html:image" tag of struts for replacement of html <input type="image" tag
In this i was using <html:image property="addButton" value="continue" srcKey="ask-question.button-submit.image" altKey="ask-question.button-submit.alt" border="0" /> FYI -- I had this addButton declared in my Action Form. Actually I am having more then one image sumbit button in my form. when I removed the property attribute. it worked fine.. I think this was the reason... I don't know otherwise. Hope this may help others... -- Raman [EMAIL PROTECTED] ----- Original Message ----- From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, December 20, 2003 7:59 PM Subject: Re: BeanUtils.populate Error > > On 20 Dec 2003, at 11:28, Raman wrote: > > > ya the properties are same both in bean and form... > > I have switched the validation off in cong file and on submitting the > > form > > same error is occuring. > > > > what can be the cause still not getting that > > > > My struts conf file is -- > > <action path="/AskAQuestion" > > type="actions.UpdateAskAQuestionAction" > > attribute="askAQuestionForm" > > This may be something new i dont know about but i've always used > name="askAQuestionForm" > > > scope="request" > > validate="false"> > > <forward name="view" path="ask-a-question"/> > > </action> > > > > <action path="/UpdateAskAQuestion" > > type="actions.UpdateAskAQuestionAction" > > name="askAQuestionForm" > > scope="request" > > input="/AskAQuestion" > > validate="false"> > > <forward name="success" path="/AskAQuestionList.do" > > redirect="true"/> > > </action> > > > > <action path="/AskAQuestionList" > > type="actions.UpdateAskAQuestionAction" > > scope="request" > > parameter="List" > > validate="false"> > > <forward name="success" path="ask-a-question-list"/> > > </action> > > > > -- Raman > > > > ----- Original Message ----- > > From: "Firat TIRYAKI" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Saturday, December 20, 2003 4:20 PM > > Subject: Re: BeanUtils.populate Error > > > > > >> check your form and bean properties, types, ... they have to be > >> same... > >> > >> F. > >> > >> ----- Original Message ----- > >> From: "Raman" <[EMAIL PROTECTED]> > >> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >> Sent: Saturday, December 20, 2003 12:41 PM > >> Subject: Re: BeanUtils.populate Error > >> > >> > >>> Hi I am using Validator form... is there something i am doing wrong > >>> in > >>> that? > >>> > >>> -- Raman > >>> ----- Original Message ----- > >>> From: "Mark Lowe" <[EMAIL PROTECTED]> > >>> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >>> Sent: Saturday, December 20, 2003 4:11 PM > >>> Subject: Re: BeanUtils.populate Error > >>> > >>> > >>>> When are you getting this? Are you using dynaforms and/or validator > >>>> action forms? > >>>> > >>>> > >>>> On 20 Dec 2003, at 09:36, Raman wrote: > >>>> > >>>>> I am facing a error in Struts at "BeanUtils.populate" and not able > > to > >>>>> trace the cause. > >>>>> has anyone already face this problem? if yes what the cause. Pls > > help. > >>>>> > >>>>> > >>>>> type Exception report > >>>>> message > >>>>> description The server encountered an internal error () that > > prevented > >>>>> it from fulfilling this request. > >>>>> exception > >>>>> javax.servlet.ServletException: BeanUtils.populate > >>>>> at > >> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:980) > >>>>> at > >>>>> > >> org.apache.struts.action.RequestProcessor.processPopulate(RequestProce > >> s > >>>>> sor.java:779) > >>>>> at > >>>>> > >> org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav > >> a > >>>>> :246) > >>>>> at > >>>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java: > >>>>> 1292) > >>>>> -------------- > >>>>> --------------- > >>>>> root cause > >>>>> java.lang.IllegalArgumentException: No bean specified > >>>>> at > >>>>> > >> org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(Prope > >> r > >>>>> tyUtils.java:816) > >>>>> at > >>>>> > > org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:846) > >>>>> at > >> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:726) > >>>>> at > >> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:978) > >>>>> at > >>>>> > >> org.apache.struts.action.RequestProcessor.processPopulate(RequestProce > >> s > >>>>> sor.java:779) > >>>>> at > >>>>> > >> org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav > >> a > >>>>> :246) > >>>>> at > >>>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java: > >>>>> 1292) > >>>>> at > >>>>> > > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) > >>>> > >>>> > >>>> -------------------------------------------------------------------- > >>>> - > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]