You could use the DispatchAction class. See http://jguru.com/faq/view.jsp?EID=897290. Of course, this is doing more than what you have asked for -- however I suspect (going by the button names) that that's what you want. Sri
-----Original Message----- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:27 PM To: Struts Subject: Button pressed Hi guys, I'd like to know if there is a way that I will know which button was pressed. I have two buttons in the JSP (Edit and Continue). In my action class I need to know which one of those was pressed. Thanks in advance. Carlos.