----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I'm trying to redirect the output of servlet from a frame window to window
browser (_top).
I do :
response.setHeader("Window-target","_top");
response.sendRedirect(<url>);

The following logs show that Window-target is set to "_top" but my servlet still
output is stuff in
the frame window. 

Anybody can help?

thanks.

...
[30/01/2000 16:39:35:876 EST] Login: init
[30/01/2000 16:39:35:873 EST] Initializing servlet: 'Login' ; initArgs: '{}'
[30/01/2000 16:39:35:851 EST] Ignored IOException.
[30/01/2000 16:39:35:178 EST] Request is in session di3be522zh
[30/01/2000 16:39:35:171 EST] Parsing cookies
[30/01/2000 16:39:35:164 EST] Reading request data
[30/01/2000 16:39:35:108 EST] Initializing servlet request
[30/01/2000 16:39:35:105 EST] Connection from localhost/127.0.0.1
[30/01/2000 16:39:35:093 EST] Set-Cookie: JServSessionIdappel=di3be522zh;
path=/[30/01/2000 16:39:35:090 EST] Location:
http://appel.crypte.8D.com/appel/Login?b=di3be522zh&sid=sa4me61nlc
[30/01/2000 16:39:35:087 EST] Content-Type: text/html
[30/01/2000 16:39:35:085 EST] Window-target: _top
[30/01/2000 16:39:35:082 EST] Status: 200 OK
[30/01/2000 16:39:35:079 EST] Sending response headers.
[30/01/2000 16:39:35:075 EST] Created session: di3be522zh
[30/01/2000 16:39:33:051 EST] Calling service()
[30/01/2000 16:39:30:734 EST] Scenario: init
[30/01/2000 16:39:30:730 EST] Initializing servlet: 'Scenario' ; initArgs: '{}'
...
-- 
Jean-Sebastien Bettez
8D Technologies inc.
http://www.8D.com


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to