Hi Theodor:
I hesitated writing this because maybe I dont understand your question at all,
but finally decided what-the-hell (;-), so here goes:
If you have a submit button like this:
<input type="SUBMIT" name="save" value=" speichern ">
then you can know that this submit button was clicked because
req.getParameter("save") will return " speichern ".
Again, my apologies if I misunderstood your problem!
Geeta
Theodor Goulas wrote:
> Hi everyone,
>
> could anyone of you, please tell me if it's possible to perform event
> handling with servlets?
> To be more specific:
> Is it possible by using the <input type=hidden name=mode value"save">
> clause above the button: ( <input type="SUBMIT" value=" speichern "> )
> and then in the servlet by using for e.g..:
> String Mode =request.getParameter("mode");
> to find out which button was clicked?
> If not, would the alternative solution be: <Form ....>
> <Button></Form...> or use applets and then send the values to the
> servlet?
>
> Thanks in advance.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html