<form name="f" action="" method="post">
用户名: <input type="text" name="name"/>
密码: <input type="text" name="password"/>
<input type="button" value="submit1" onclick="javascript:document.f.action='xxx1';document.f.submit();"/>
<input type="button" value="submit1" onclick="javascript:document.f.action='xxx2';document.f.submit();"/>
<input type="button" value="submit1" onclick="javascript:document.f.action='xxx3';document.f.submit();"/>
</form>