Hi, Got some 'hints'.. Actually what I forgot to mention is the whole flow of action
>From JSPa, I redirect to MyDispatchAction (which uses MyFormBean). In turn, MyDispatchAction forward the request to ProductSetUpAction. In ProductSetUpAction, I 'create' the DynaAction form and populate it, And then I forward the request to aliasMaintenance.jsp In aliasMaintenance.jsp, I am supposing to get properties from a DynaActionForm, but the JSP is assuming that the form used is still MyFormBean used before. As a proof of that, i tried to output the buttonSelected property, and with My surprise it was not the value that I have put in ProductSetUpAction aliasForm.set("buttonSelected","enter"); but it was the value that was retrieved from MyDispatchAction (by clicking a button on that page, 'alias', I trigger the call of ProductSetUpAction via MyDispatchAction. Can anyone tell me why the aliasMaintenance.jsp is still expecting to Read properties from MyFormBean? Here are the config info for ProductSetUpAction <action path="/productContactAliasSetUp" type="com.waersystems.ngenweb.product.ProductContactAliasSetUpAction" name="productAliasForm" validate="false" scope="request" input="/productMaintenance.jsp"> <forward name="blank" path="/productAliasMaintenance.jsp"> </forward> </action> the jsp ignores completely that I am using a DynaActionForm now (productAliasForm is a DynaActionForm).. regards marco -----Original Message----- From: Nigel Vivian [mailto:[EMAIL PROTECTED] Sent: 23 December 2003 12:17 To: 'Struts Users Mailing List' Subject: RE: Error in JSP when using DynaActionForm Hi Marco Is it trying to compile "AliasMaintenance.jsp" as the error message says or is it a typo? As coded the action you've described should forward to another jsp --> "productMaintenance.jsp If its not this, then I think the list might need a fragment of your jsp code as well -----Original Message----- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 23 December 2003 11:26 To: 'Struts Users Mailing List' Subject: Error in JSP when using DynaActionForm Hi all, I am trying to get things working with DynaActionform. I have defined my dynaAction form in my struts-config file as follows.. <form-bean name="productAliasForm" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="aliasRef" type="java.lang.String"/> <form-property name="contactRef" type="java.lang.String"/> <form-property name="productRef" type="java.lang.String"/> </form-bean> mapped to following class <action path="/productContactAliasSetUp" type="com.waersystems.ngenweb.product.ProductSetUpAction" name="productAliasForm" validate="false" scope="request"> <forward name="blank" path="/productMaintenance.jsp"> </forward> </action> now, when the ProductSetupAction forward the request to productMaintenance.jsp, I got following JSP compilation error: ServletException in:/AliasMaintenance.jsp] No getter method for property aliasRef of bean org.apache.struts.taglib.html.BEAN' At a glance, it seems that the page does not recognize the DynaActionForm, since it is expecting to have a getAliasRef, while the DynaActionForm has only get and set.. Any additional steps that I have to configure still in JSP to get things working? Thanx and regards marco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] (1) Matthew Clark plc and all its subsidiary Companies ("Matthew Clark") is part of the Constellation Brands Inc. group of companies. (2) The contents of this e-mail are intended for the named recipient(s). If you are not the intended recipient please preserve the confidentiality of it and advise Matthew Clark of the error immediately by telephone or by replying to this e-mail and then please delete the e-mail from your system. (3) If you are an unauthorised recipient any action taken or not taken in respect of, or any reliance upon, the contents of this e-mail is prohibited and you may not copy, disseminate, distribute, disclose, print or in any way use the contents of this e-mail and/or any trademarks or copyright works or any other intellectual property belonging to Matthew Clark which is contained in this e-mail. (4) Matthew Clark cannot accept liability for any damage which you might sustain as a result of software viruses contained in this e-mail or any of its atta! chments and in keeping with good computing practice, you should therefore ensure that the contents of this e-mail and its attachments are virus free. (5) Any views expressed by an individual within the contents of this e-mail do not necessarily reflect the views of Matthew Clark. (6) Matthew Clark reserves the right to monitor, intercept and record incoming and outgoing e-mails for the purpose of protecting our business and to ensure regulatory compliance. Visit our web site at www.matthewclark.co.uk --------------------------------------------------------------------- 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]