How can I recognise which submit button (as images using the type="image" attribute) is pressed in a form containing multible (image) submit buttons?

Nick Furiak

You should be able to include a name in the image tag

<....NAME ="your name"...>.

In your servlet you would put your code in conditional block headed by:

if (request.getParameter("your name")!=null)

I have submit buttons on several different html pages that are responding nicely to this technique.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact