just put those two buttons in two diff: forms for example:

<body>

<form action="home.jsp" method="GET">
<input type="submit" value="Submit1" />
</form>

<form action="register.jsp"...