I'm not too sure exactly what you're trying to do, but I think this is generally how you'd be using <html:text

<code file="struts-config.xml"?
   <form-beans>
       <form-bean
           name="myForm"
           type="org.apache.struts.validator.DynaValidatorActionForm">
           <form-property name="myText" type="java.lang.String"/>
       </form-bean>
   </form-beans>

....

   <action-mapings>
        <action path="/next/page"
                    type="myAction.java"
                    name="myForm"
                    validate=["true" | "false"]
                    scope="request"/>
        ....
   </action-mappings>
</code>

<code file="submitting.jsp">
   <html:form action="/next/page">
         <html:text property="myText"/>
   </html:form>
</code>

-Ben

From: "Dmitri Ilyin" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: html:text tag with null bean
Date: Tue, 8 Jul 2003 16:06:41 +0200

Hi all,

I habe <html:text.....> custom tag on my page, but i didn't create a bean,
the tag throws exception. Can i config something somewhere to avoid this
exception???

thank you

Dmitri




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to