<html:form> must have a form bean. Form beans are the framework's way of dealing with forms.

David



From: "Chen, Gin" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: Action without FormBean
Date: Wed, 26 Feb 2003 13:05:29 -0500

I set up the following:

<action path="/myAction" type="com.ui.action.MyAction"
parameter="userAction"/>

//myJsp.jsp

<html:form action="/myAction">
</html:form>

Thats it nothing in between the form tags and I get exception can not access
formbean null.


Well I dont want a formbean.
Is this not a legal form?

I do this all the time from anchor hrefs but this is the first time I've
tried it in html:form style.
I can't find anywhere in the docs that says that a html:form MUST have a
related formbean.
Is this just an implied rule?

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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Reply via email to