I was wondering if someone has tried using multiple graphical submit buttons on a single form?

For example let's say I have the following:

<form>
<input type="image" src="/img/sign_on.gif" name="doSignIn" value="Sign In">
<input type="image" src="/img/update.gif" name="doUpdate" value="Update Settings">
</form>

If I had regular submit buttons (i.e. type="submit"), the dispatcher would call "setDoSignIn()" and "setDoUpdate()) because the parameter name would simply be "doSignIn" and "doUpdate" respectively.

But in the case of graphical submit buttons the parameters sent from the browser become "doSignIn.x" and "doSignIn.y" and "doUpdate.x" and "doUpdate.y". Other than making my action ServletRequestAware and using the servlet request directly to look at the parameter is there a best practices for dealing with this issue?

The HTML 4 <button> tag won't work in our situation either. NS 4.7 doesn't support it.

ANSWER:

The cleanest way to do this is something like the following:
public void doValidation()
{
  ActionContext context = ActionContext.getContext();
  Map parameters = context.getParameters();
  for (Iterator iter = parameters.keySet().iterator(); iter.hasNext(); )
  {
    String key = (String) iter.next();
    if (doSignIn == null && key.indexOf( "doSignIn" ) >= 0)
    {
      setDoSignIn( "true" );
    } 
    else if (doUpdate == null && key.indexOf( "doUpdate" ) >=0)
    {
      setDoUpdate( "true" );
    }
  }
}