how can i change the back arrow in navigation toolbar function

Posted by jackrobert on Stack Overflow See other posts from Stack Overflow or by jackrobert
Published on 2010-04-13T05:22:54Z Indexed on 2010/04/13 5:32 UTC
Read the original article Hit count: 298

Filed under:
|

hi

i have developed simple web application using jsp...

Step 1 : I have one login page : (contains username ,password and sumbit button)

Step2 : I have one logout page : it has one link (Go to login page), just u click this link go to login page..

step3 : And i have some pages like (page1,page2,page3, page4.....)

Normal application working following way :

  • after login comes page1..
  • Then click some action and it will go to page2
  • Then i click some action and it will goto page3
  • Then i click some action and it will goto page4 So now i am in page4...
  • now click back arrow in navigation toolbar in browser, generally go to previous page (page3).

For example... If u seeing gmail inbox msg... that time u click back arrow..then automatically go to previous page..

But i need , if click back arrow in navigation toolbar (from any page in my application) ,then go to logout page...

For example.... Suppose i am in page4... here i click backarrow in browser then i want to go logout page, don't go to page3

how to acheive this...

Is there any possible....Any javascript or any otherway

pls help me...

© Stack Overflow or respective owner

Related posts about jsp

Related posts about JavaScript