Input not firing in jsp page

Posted by GigaPr on Stack Overflow See other posts from Stack Overflow or by GigaPr
Published on 2010-06-02T20:31:35Z Indexed on 2010/06/03 5:54 UTC
Read the original article Hit count: 293

Filed under:
|
|

Hi,

i have been using the spring mvc frameworks lately for a university project. Could you tell me why this work

 <FORM METHOD=POST ACTION="SaveName.jsp">
           <input type="image" class="floatR marginTMinus10" src="images/delete.png" name="image" value="${rssItem.id}" alt="Delete"/>
 </FORM>

while this not

<input type="image" class="floatR marginTMinus10"
                                      src="images/delete.png" name="image" value="${rssItem.id}" alt="Delete"/>

does it mean a button has to be in a form to work?

Can i use a button? if yes how do i handle the event in the controller?

thanks

© Stack Overflow or respective owner

Related posts about html

Related posts about spring