Hi,
I have a question about defining a <html:form..> on my
jsp page,
1. suppose i define a form like below in my
selectenv.jsp
<html:form action="/pages/selectenv">
do i have to have a bean-form defination in my
struts-config file like below
<form-bean name="selectEnvForm" dynamic="true"
type="org.apache.struts.validator.DynaValidatorForm">
                        <form-property name="envDrop"
type="java.lang.String"/>
                </form-bean>

2 . can i define a form with action as blank like
<html:form action=""> and then have a javascript which
will define value for action, 

3. If my old html form looks like this
<form name="myform" action="env.jsp" >
what would be struts equivalent, if i define a name
for the form it gives me error, that a type must be
assigend, and when i give type as
"org.apache.struts.validator.DynaValidatorForm",
it gives me class cast exception error. for the above
form defination
Ashish

 



=====
A$HI$H

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

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

Reply via email to