I am new one of jsp .i have developed simple webapplication 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 anyotherway

nope, not possible

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.