jQuery in Action, 3rd edition
The moose likes Struts and the fly likes the <html:form > tag cancel the effect of <%=%> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "the <html:form > tag cancel the effect of <%=%>" Watch "the <html:form > tag cancel the effect of <%=%>" New topic

the <html:form > tag cancel the effect of <%=%>

abdel solarie

Joined: Oct 29, 2010
Posts: 9
I would like to create a page that contains multiple forms ,the action compte responsible for that send a "voiture " vector to the jsp , the property "idVoiture" of "voiture" will be used to differentiate between those form:

Vector <voiture> Vect continet un vecteur de voiture
request.setAttribute("Vect_voiture", Vect); mettre ce vecteur dans la requet

the jsp result

<logic:iterate id="vf" name="Vect_voiture">
<bean:define id="idd" name="vf" property="idVoiture"/>

<html:form action="update_img" method="POST" styleId="updat_<%=idd%>" enctype="multipart/form-data">

<div ><html:file property="file" styleId="file0" /></div>

<div > <html:submit value="update"/></div>



what is strange : is that I receive all form in html with:

<form name="voiture" id="updat_<%=d%>" method="POST" action="/projet_web/update_img.do" enctype="multipart/form-data">

<div ><input type="file" name="file" value="" id="file0" > </div>
<div > <input type="submit" value="update"/>

it's like the <html:form > tag cancel the effect of <%=%>
I agree. Here's the link: http://aspose.com/file-tools
subject: the <html:form > tag cancel the effect of <%=%>
It's not a secret anymore!