This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

abdel solarie
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/" 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 <%=%>
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!