File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How img link is  working ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How img link is  working ?" Watch "How img link is  working ?" New topic
Author

How img link is working ?

sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
I looking into an existing code and I have a question about the following line.

<tr>
<td colspan="2" align="left">
<p><input type="image" name="" src="/MyAccount/assets/images/button_next.gif" alt="Link to Next Step"></p>
</td>
</tr>


When I click the next button(Image) it is validating the page if every thing is fine then going to the next page. But not sute how it is working.
Can some one explaing how it nows which page to call ?

Thanks
Sudhakar
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2573

http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/input_image.asp

INPUT type=image Element | input type=image Object

Creates an image control that, when clicked, causes the form to be immediately submitted.

- Manish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How img link is working ?
 
Similar Threads
jquery accordion is causing jquery treeview picker to breakup
LinkedList Problems in JSP
embedded js file in doGet
Need your help on tiles urgently ~~
jsp:include and c:import combination/nesting