So I have two submit type buttons here. One is for "Save" and the other is for "delete", each has a different action name. I have defined the action mapping in struts.xml file. What I found is -- when I click the "delete" button, the url shows "../saveInfo", which is weird (it is supposed to show ../deleteInfo). but, but the almost blank screen shows a message like
In strust.xml mapping I map "deleteInfo" to this class . So it seems it called that class, then why the URL shows "saveInfo" ? Plus, when I use debug, it doesn't reach the "DeleteInfo" class.