Input not firing in jsp page
- by GigaPr
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