wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: redirect to different window
 
Similar Threads
Opening HTTPS link in same popup
open jsp pages on same url
Session Problem
How to display Jsp page by Different login
Are beans also destroyed with session invalidate()?