RE: forward to TOP-Frame

2002-08-14 Thread Barney Hamish

You can't solve this with forward. You need to do this client side with
either javascript or by changing whatever link the user clicks on to to
include a target.
Hamish

-Original Message-
From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 11:27 AM
To: Tomcat-Liste (E-Mail)
Subject: jsp:forward to TOP-Frame


Hello!

I want to forward the request to a page but it should be shown in my
top-frame.

e.g href=logindialogController.jsp?formcommand=logout target = _top

How can i solve this with jsp:forward

or any other solution?



Thanks
Harry Knoerrer

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: forward to TOP-Frame

2002-08-14 Thread mk

Hello Harry

 You can't solve this with forward.
 You need to do this client side with
 either javascript ...

Here is a example of a javascript function.

Must run on the client side.

script language=javascript
!--
 function logout() {
  thePage = http://www.thewebsite.com;
  top.location.href=thePage;
 }
// --
/script

Marcus


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: forward to TOP-Frame

2002-08-14 Thread Barney Hamish

You can't do this server side with out using javascript then.

The only way you're going to be able to do what you want without using
javascript is to get rid of the frames and put the whole site in one window.

-Original Message-
From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 11:49 AM
To: 'Tomcat Users List'
Subject: AW: forward to TOP-Frame


And javascript isn't allowed

 -Ursprüngliche Nachricht-
 Von: Harry Knörrer [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 14. August 2002 11:45
 An: 'Tomcat Users List'
 Betreff: AW: forward to TOP-Frame


 This is a problem cause the forward should happen when the session is
 invalid.
 I check this in my controller.jsp

  -Ursprüngliche Nachricht-
  Von: Barney Hamish [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 14. August 2002 11:29
  An: 'Tomcat Users List'
  Betreff: RE: forward to TOP-Frame
 
 
  You can't solve this with forward. You need to do this client
  side with
  either javascript or by changing whatever link the user
  clicks on to to
  include a target.
  Hamish
 
  -Original Message-
  From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, August 14, 2002 11:27 AM
  To: Tomcat-Liste (E-Mail)
  Subject: jsp:forward to TOP-Frame
 
 
  Hello!
 
  I want to forward the request to a page but it should be shown in my
  top-frame.
 
  e.g href=logindialogController.jsp?formcommand=logout
  target = _top
 
  How can i solve this with jsp:forward
 
  or any other solution?
 
 
 
  Thanks
  Harry Knoerrer
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: forward to TOP-Frame

2002-08-14 Thread Mark O'Driscoll

Is this a game? You are trying to manipulate client side functionality
without using the only client side programming feature (javascript) you
have.

Trying to develop any system with a browser front end without using
javascript is a futile exercise.

Tell whoever mandated the ban on javascript that he is a muppet and should
seek alternative employment in McDonalds. You can tell him I said so!


- Original Message -
From: Harry Knörrer [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, August 14, 2002 10:49 AM
Subject: AW: forward to TOP-Frame


 And javascript isn't allowed

  -Ursprüngliche Nachricht-
  Von: Harry Knörrer [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 14. August 2002 11:45
  An: 'Tomcat Users List'
  Betreff: AW: forward to TOP-Frame
 
 
  This is a problem cause the forward should happen when the session is
  invalid.
  I check this in my controller.jsp
 
   -Ursprüngliche Nachricht-
   Von: Barney Hamish [mailto:[EMAIL PROTECTED]]
   Gesendet: Mittwoch, 14. August 2002 11:29
   An: 'Tomcat Users List'
   Betreff: RE: forward to TOP-Frame
  
  
   You can't solve this with forward. You need to do this client
   side with
   either javascript or by changing whatever link the user
   clicks on to to
   include a target.
   Hamish
  
   -Original Message-
   From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, August 14, 2002 11:27 AM
   To: Tomcat-Liste (E-Mail)
   Subject: jsp:forward to TOP-Frame
  
  
   Hello!
  
   I want to forward the request to a page but it should be shown in my
   top-frame.
  
   e.g href=logindialogController.jsp?formcommand=logout
   target = _top
  
   How can i solve this with jsp:forward
  
   or any other solution?
  
  
  
   Thanks
   Harry Knoerrer
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: forward to TOP-Frame

2002-08-14 Thread Andreas Mohrig

I'm afraid tomcat itself can't help you with this at all, since you really
have to convince the client browser to use the top frame to display your
page. Once the browser has requested your page to display within a subframe,
your page doesn't even know it is to be displayed within this subframe. You
would have to send back a page that instructs the browser to reaload another
(or the same) page in the top frame. Without JavaScript I would imagine this
to be quite difficult.

If this is _really_ important to you there may be another way, though. You
may be able to emulate your frame-structure by composing your jsp-pages
dynamically via jsp:include page=somepage/ and/or %@ include
file=somefile%. I admit this would be a painful course of action if you
have already designed your application to use frames, but then you could
just send back a page missing alle the included parts, which will make it
top.

greetings

Andreas Mohrig

-Original Message-
From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 11:49 AM
To: 'Tomcat Users List'
Subject: AW: forward to TOP-Frame


And javascript isn't allowed

 -Ursprüngliche Nachricht-
 Von: Harry Knörrer [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 14. August 2002 11:45
 An: 'Tomcat Users List'
 Betreff: AW: forward to TOP-Frame


 This is a problem cause the forward should happen when the session is
 invalid.
 I check this in my controller.jsp

  -Ursprüngliche Nachricht-
  Von: Barney Hamish [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 14. August 2002 11:29
  An: 'Tomcat Users List'
  Betreff: RE: forward to TOP-Frame
 
 
  You can't solve this with forward. You need to do this client
  side with
  either javascript or by changing whatever link the user
  clicks on to to
  include a target.
  Hamish
 
  -Original Message-
  From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, August 14, 2002 11:27 AM
  To: Tomcat-Liste (E-Mail)
  Subject: jsp:forward to TOP-Frame
 
 
  Hello!
 
  I want to forward the request to a page but it should be shown in my
  top-frame.
 
  e.g href=logindialogController.jsp?formcommand=logout
  target = _top
 
  How can i solve this with jsp:forward
 
  or any other solution?
 
 
 
  Thanks
  Harry Knoerrer
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]