Nicolas De Loof wrote:
> 
> If "/foo" is mapped to "FooForm" bean, you can use
> 
> <bean:write name="FooForm" property="xxx" />
> 
> without changes to your <html:form>. bean:write will look in scopes for an
> object called "FooForm". This has no effect with using html:form or not -
> assuming FooForm is in session or request scope !
> 
> If you've got problem with this, perhaps you don't have such an existing
> bean in scope. (look at the scope you setted in struts-config.xml).
> <html:form> with a type attribute will create one if there's none. <html:
> tags can work without such a bean, just displaying no initial data.

Okay, thanks, that works. At least that saves me from putting too
much in the <html:form> tag, although I still have to repeat the
information from the struts-config in the bean:write tag.

Well, you can't have everything...

...Michael...

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

Reply via email to