should not go back to index.jsp when press on the link logout

should not go back to index.jsp when press on the link logout

Hello i m having a problem in my servlet page.Actully what i m trying to do is that i made a index.jsp page in which i m having the two labels user id and password and their corrosponding text fields.now i made a servlet class i.e. SessionServlet.java in which i print the message "you havesuccessfully logined" and also i've get the session and on the same servlet page i give a link of logout.bt now when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser on the SessionServlet.java then it will move to the previous page i.e. index.jsp. that should not be happened. so please help me out from this problem.

View Answers

Ads









Related Tutorials/Questions & Answers:
should not go back to index.jsp when press on the link logout
should not go back to index.jsp when press on the link logout  Hello... when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser
should not go back to index.jsp when press on the link logout
should not go back to index.jsp when press on the link logout  Hello... when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser
Advertisements
should not go back to index.jsp when press on the link logout
should not go back to index.jsp when press on the link logout  Hello... when i click on this link then it will move to the another page i.e. Logout.java.but now the problem is this ,when i press the back arrow on the browser
After Logout Back Button Should not work again
After Logout Back Button Should not work again  Hi deepak,, I am doing Login Page,.. IN That If Logout Then When I Click Logout Button It Should...")!= null){ //then show the logout button }else{ // show the login button
Should not logout after clicking the back/forward button
Should not logout after clicking the back/forward button  Hi all I have wrote a code for login now. User is able to login but after logging in when he clicks on the back button user automatically gets logged out. very next
uinavigationcontroller go back
uinavigationcontroller go back  Hi, How to go back to the previous view on the navigation controller view. Write code for uinavigationcontroller go back. Thanks
click on back button go to the login page
click on back button go to the login page  now when i click on back button the page show that page on where i came from and it shows the session expired but i want when i click a back buttob then it should show a login page
How to disable browser back after logout - JSP-Servlet
page for logout and redirecting in login page. when i am clicking logout session... problem is, when i am clicking browser back button i can see my old visited pages.... Anyone having idea how to disable browser back button after logout, please
How to disable browser back and forward button after logout [in struts2 or jsp]
How to disable browser back and forward button after logout [in struts2 or jsp]  How to disable browser back and forward button after logout... noback() { window.history.forward(); } but not working. When I
go back to previous view iphone sdk
go back to previous view iphone sdk  How to go back to previous view iphone sdk?    - (IBAction)backView:(id)sender { [self.navigationController popViewControllerAnimated:YES
How to load elements from db when i press next.
How to load elements from db when i press next.  Hello , I am working... at a position. I am using MySql at back end ,. My query is:- Suppose I clicked a link... means when i click next, the next 20 books will be displayed from db on the same
how to prevent from navigating Back after logout or session expire in jsp
how to prevent from navigating Back after logout or session expire in jsp  Hii Sir, I am making a web app in which after logout one can go to back pages from the browsers back button which i dont want in my app. Plz
forwarding request to a jsp when user clicks on back button in ie
of the application, We should not allow the customer to go back to the previous page. Can we forward request to a jsp page whenever user clicks on back button...forwarding request to a jsp when user clicks on back button in ie  Hi
When should you use Docker
When should you use Docker  Hi, I am new to DevOps and want to learn it but don√Ę‚?¨‚?Ęt know when to use Docker. So, can anyone tell me when to use Docker? What are the scenarios when one should use Docker for running
When should I learn tensorflow
When should I learn tensorflow  Hi, TensorFlow is now getting used in industry. I am planning to learn it. When should I learn tensorflow? Thanks... TensorFlow is being used in industry now so you should learn it asap. First of you
When should I learn tensorflow
When should I learn tensorflow  Hi, TensorFlow is now getting used in industry. I am planning to learn it. When should I learn tensorflow? Thanks... TensorFlow is being used in industry now so you should learn it asap. First of you
Display set of names in array when we press the first letter
Display set of names in array when we press the first letter  Please help to write a program which have to display set of names in the array when we click the starting letter (like in gmail if we press the letter it will show
How to disable browser back after logout - JSP-Servlet
How to disable browser back after logout  thanks deepak, i tried but if i am clicking back still i can see my old pages. i copied your code in my logout page. please if you have any other solution, please give me
Should I go for data science courses.
Should I go for data science courses.  Hi, There seems good demand... learning. So, what is the best way to get started and learn Data Science? Should I go for data science courses? Is it possible to learn Data Science by own
Logout?
Logout?  how to logout from a jsp page?   Hi to logout from Jsp Page.you should use session.invalidate() method. *khalidkhan
display a list of names(when we press first letter)
display a list of names(when we press first letter)  If i gave 1character the name start wth that characteer has to be displayed... using java   import javax.swing.*; class Name { public static void main (String
When should I start learning machine learning?
When should I start learning machine learning?  Hi, I am beginner... to learn: When should I start learning machine learning? Try to provide me good examples or tutorials links so that I can learn the topic "When should I
How to prevent from navigating to ck buttonnext page when user reaches login page using back button
How to prevent from navigating to ck buttonnext page when user reaches login page using back button  Hi sir, I have created 2 pages, 1) Lo gin Page 2)Page with link to open pdf files When i lo-gin,it takes me to 2nd page where
Should I go for data science course is it beneficial for me
Should I go for data science course is it beneficial for me  Hi, I am also trying to learn Data Science by online tutorials. It is difficult... Science and Machine learning. Should I go for data science course
Should we go for javascript or applets for online exam project using java
Should we go for javascript or applets for online exam project using java ... soon as the candidate login successfully a window pop up should appear with question and options. This window pop up should accomplish the entire monitor screen
Should I go for Henry Harvin's Data Science online training?
Should I go for Henry Harvin's Data Science online training?  Hi, I... for the tutorials to learn: Should I go for Henry Harvin's Data Science online... the topic "Should I go for Henry Harvin's Data Science online training?"
How to change table row color when click on Hyper Link in jsp?
How to change table row color when click on Hyper Link in jsp?  I use 5 links: Link 1 Link 2 Link 3.. table: row1 row2 row3.. when click on the link1 automatically change
When should you use Hibernate?
When should you use Hibernate in Java Project? Hibernate is ORM framework which is open source and one of the most used ORM framework in Java. Most... databases with Hibernate. In this article we are discussing when developer should use
why should we over ride hashCode(), when equals was over ride()?
why should we over ride hashCode(), when equals was over ride()?  why should we over ride hashCode(), when equals was over ride
link
the next link i have to refresh the page instead i want to do is when i click the link the table should display and again when i click the link the table should...link  Thank you Friend.Another think i want to ask is when i click
when radio button is selected corresponding jsp page should open
when radio button is selected corresponding jsp page should open  how to write code in HTML & jsp, when we click on radio buttons the corresponding jsp page should open..!   <html> <script> function

Ads