|
in httpSessin i save the the object User. and i save it after checking the user's authorization.
here is how i log in and send username&password to servlet
<table>
<tr>
<td>Username: </td>
<td align = "left" width="20"><input name="username" type="text" size="40"></input></td>
</tr>
<tr>
<td>Password: </td>
<td align = "left" width="20"><input name="password" type="password" size="40"></input></td>
</tr>
<tr><td>
<input type="submit" name="enter" value="Enter SMD"></input>
</td></tr>
</table>
</form>
the question is, how can i open the application page on same browser after checking the authorization? how? in jsp page through onClick, or in servlet through Dispatcher?
|