> --- I commented the "usebean" that was pointed out in prev. thread > > <!-- <jsp:useBean id="subscription" scope="session" > class="com.borneo.beans.SubscriptionForm" />-->
No you didn't - you commented out the result of the tag from the rendered html. You need to comment it out in the world of jsp <%-- --%> Paul > -----Original Message----- > From: rob rowntree [mailto:[EMAIL PROTECTED] > Sent: 05 February 2004 18:01 > To: [EMAIL PROTECTED] > Subject: RE: duplicate form object > > > > I made the suggested changes and still get the same result = > there are 2 "subscriptionForm" beans instead of a single one. > > The properties set in "saveSubscription" action are no longer > avaiable when the "forward" to "Welcome.jsp" occurs. > > > > config file now contains------------ > > <form-bean > name="subscriptionForm" > type="com.borneo.beans.SubscriptionForm"> > </form-bean> > > > <action path="/saveSubscription" > > type="com.borneo.beans.SaveSubscriptionAction" > name="subscriptionForm" > scope="session" > validate="true" > input="/subscription.jsp"> > <forward name="success" path="/Welcome.do"/> > <forward name="subscription" path="/subscription.jsp"/> > <!-- <forward name="success" > path="/Welcome"/> --> > </action> > > > <action > > path="/Welcome" > name="subscriptionForm" > type="org.apache.struts.actions.ForwardAction" > parameter="/Welcome.jsp" > /> > i made the changes as per the reply... > > JSP's now contain ---------------------------- > > subscription.jsp > > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > > --- I commented the "usebean" that was pointed out in prev. thread > > <!-- <jsp:useBean id="subscription" scope="session" > class="com.borneo.beans.SubscriptionForm" />--> > > > Welcome.jsp > > <%@ taglib uri="/tags/struts-bean" prefix="bean" %> > <%@ taglib uri="/tags/struts-html" prefix="html" %> > <%@ taglib uri="/tags/struts-logic" prefix="logic" %> > > <html:html locale="true"> > <head> > <title><bean:message key="welcome.title"/></title> > <html:base/> > > <h3><bean:message key="welcome.heading"/></h3> > <p><bean:message key="welcome.message"/></p> > <a href='<bean:write name="subscriptionForm" property="jnlpaddr"/> > > '>Launch JWS App.</a> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]