GeeCON Prague 2014*
The moose likes JSP and the fly likes redirect to different window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "redirect to different window " Watch "redirect to different window " New topic
Author

redirect to different window

chain singh
Ranch Hand

Joined: Feb 28, 2012
Posts: 117

hello


i have a login jsp page. After a user login, the home jsp page must open in different window with no menubar and toolbar.

and after login by user url never change by any action.





regards

chain singh
Jagdish Hatagale
Ranch Hand

Joined: Apr 07, 2010
Posts: 33
after login in with correct User Id and password
write code
<html>
<form>
<input type="button" value="New Window!" onClick="window.open
('URL','window','width=400,height=200')">
</form>
</html>

Regards
Jagdish Hatagale
 
GeeCON Prague 2014
 
subject: redirect to different window