I want to load a url from a servlet. I have used:

res.setStatus(res.SC_MOVED_PERMANENTLY);
res.setHeader("Location",url);

where res = HttpServletResponse

the problem is that I am getting the data from a form which is inside a html "window"
i.e var win = open("url","login window") (javascript).

so when I use the above code it loads the url inside the window. I want to load in a 
new browser
window. Is there a method akin to appletcontext.showDocument(URL url,String target), 
so I can specify
target = _balnk etc...

thanks,

gerardo

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to