String loadButton = (String)request.getParameter("load");
String submitButton = (String)request.getParameter("submit");

----- Original Message ----- 
From: "Bernhard J. Hirschmann" <[EMAIL PROTECTED]>
To: "Struts-User" <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 6:26 AM
Subject: recognizing a button


Hello!

How can I recognize in the ActionServlet, which button was pressed?
I have this two buttons:

<html:submit value="Load" property="load"/>
<html:submit value="Submit" property="submit"/>

How can I get the value of the attribute "property" inside of the
Action.perform method? I just can't figure out, which method to use.

Thanks in advance,
Bernhard


Reply via email to