View Single Post
  #6 (permalink)  
Old 04-09-2008, 04:55 PM
lema lema is offline
Member
 
Join Date: Apr 2008
Posts: 38
lema is on a distinguished road
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?
Reply With Quote