----- Original Message -----
Sent: Saturday, July 01, 2000 9:04
AM
Subject: No ActionForm but want to put
html objects inside the form and submit that form ??? is it possible ??
Hi
Another basic question in Struts -
I have 1 text fields and 1 button on the form . I
do not want ActionForm . so my mapping in the struts-config.xml looks like
this -
<action path="/seeorders"
type="example.order.SeeOrderAction">
<forward name="success" path="/seeorders.jsp"
/>
</action>
In this case I want to show all the orders to the
user which matches the string that user enters into the status text field
below .
** but as I do not have the ActionForm
defined using name attribute of action tag , in that case I can not have
html:form tag in the jsp file **
In this case how will I put html objects like
text field , button in the jsp ???
In menu.jsp file -
<html:form
action="/seeorders.do">
<bean:message key="order.status"
/>
<html:text property="status" size="10"
/>
// status textfield.
<html:submit>
<bean:message
key="button.submit"
/>
</html:submit>
</body>
</html:form>
</html:html>
Regards
Suhas