How can I display the same page when I'll press

i have a jsp page. It contains user name & password.
and a link like SIGNOUT COMPLETELY. when i press the back button it should show only this page.
You have noticed one thing that when u sign out from YHAOO MAIL then a page is displayed
USERNAME : [email protected]
PASSWORD :XXXXXXXXXX
SIGNOUT COMPLETELY
when this page is dispalyed and u press the back button of the browser
it displays the same page. How it happens?

Kindly neglect the previous post.....
Okay check something like this
1).maintain either a HttpSessionListener or a session flag try to checkout whether the user is active or else close the PrintWriter.
2).Prevent caching of the webpage by using customary meta tag or by response,setHeader("Cache-Control","no-cache");
way...
Guess tht shud work.....

Similar Messages

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • To display the same page when an error occurs.

    Hi,
      I need to display the same page when an error occurs in the page. For example, I am validating a few fields in a page. If an error occurs, then same page is to be displayed.
      I am presently using MVC type programming.
    Thanks in advance.
    Regards,
    Vara

    I usually use the Message class, for handling all possible validations. In the DO_HANDLE_DATA, do the validation, and if your validation fails, put your message in the message attribute available for that method. As you have not given a pointer to a new page, it will refresh that same page.
    If your validation is successful, go to next page.
    In the layout of this page(where you require validation), there is an attribute called page and it has get_message method. Call that method at the appropriate place in the layout.
    For more information , refer to :
    http://help.sap.com/saphelp_470/helpdata/en/91/b197ce280011d5991f00508b6b8b11/frameset.htm
    Web Applications and BSP --> Programming Environment -->
    Handling Incorrect Entries
    Let us know, if this answered your query.
    Regards,
    Subramanian V.

  • How can I display application offline page when OAS is offline?

    I am using IIS with oracle_proxy.dll redirecting to my oracle application server. When I do maintenance on the application and stop the OAS service the end-user gets the HTTP 500 - Internal server error from Internet Explorer. I would prefer for them to see a custom page that displays that the application is offline for maintenance. I tested with IIS custom error pages but that is not where the 500 page is coming from. The page being displayed is the IE friendly HTTP error message. I can't see how a configuration on the Oracle application server would help because the service is offline. Is there anything I can do to explain to the users that this is a scheduled maintenance and display a more informative page? I understand the solution may involve stopping, changing a configuration file in IIS and restarting. If so how can I script that so it can be easily done and what is the easiest way to do it?
    Thank you for your response in advance.
    Trying to make oracle more friendly, Jon.

    I just wanted to confirm, are you using Oracle HTTP Server?
    Regards
    Mehmood

  • How can I hide the master page when saving a pdf?

    I designed a form that uses a master page so that I can use headers and footers without changing 10 different pages.  When I save to PDF so the form can be filled out it saves the Master Page as the first page though it has no content.  I have to save the PDF as a static file because it needs to be filled out on the iPad.
    Anyhelp please?

    Hmm,
    Not really. Acrobat must display at least one page of the form. You can set the presence of all of your Design Pages to hidden, but Acrobat will display at least one instance of the Master Page.
    The Master Page is available in LC Designer for objects that you want to repeat on more than one page. Yes, typically this includes header and footer objects.
    If you want to hide all of your main form pages, then include a blank page and display this when hiding all of the other pages. See an example here: http://assure.ly/frjYW5.
    There is also an example here for displaying/hiding pages on a loop: http://assure.ly/kyMP6l.
    Hope that helps,
    Niall

  • Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it.  Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions  and my sight is dropping !   Thx

    Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it.  Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions  and my sight is dropping !   Thx

    Hi, how can I keep the same zoom level for all the pages I view in Safari and even when I close and open it.  Indeed with a 27 inch Imac I have a lot of space, most of the websites are built for smaller resolutions  and my sight is dropping !   Thx

  • When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???

    When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???  All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found"   How can we merge them?? or how can we share all songs.. purchased or not!

    When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???  All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found"   How can we merge them?? or how can we share all songs.. purchased or not!

  • When I click on my Yahoo bookmarks, I only get the download Yahoo toolbar page, I downloaded the toolbar again and I still get the same page when I hit bookmark icon - how do I get my bookmarks back - they still show on Microsoft Explorer

    Question
    When I click on my Yahoo bookmarks, I only get the download Yahoo toolbar page, I downloaded the toolbar again and I still get the same page when I hit bookmark icon - how do I get my bookmarks back - they still show on Microsoft Explorer

    julianscars wrote:
    I don't get a page, all I get is the player popping
    Click the green jelly button at the top left of the player.

  • When reading an EBook, how can I mark the last page I have read?

    When reading a PDF EBook, how can I mark the last page I have read?

    Hi Pickles 77,
    Sorry to hear you are having issues with your iTunes Store purchase.   The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    To report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase, follow these steps:
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

  • How can I duplicate the same table in 3 pages?

    hi everybody!
    i have a form with a master page (containing the invoice fields) and 3 body pages that reference the master page.
    in each one of these 3 pages there is a table with one header row, 7 body rows and a footer row.
    the table was copied and pasted from page 1 to page 2 and page 3.
    between the body rows there are two rows that are bound with table data, one for invoice details and one for tax details.
    my problem is that in the 2nd and 3rd page in pdf output invoice and tax details are empty, while the other lines are present.
    it seems like there is a table index that loops once in the first page until it reaches the end of the table, so for page 2 and 3 it is already at the end...
    my question is: how can i get the same complete table in three form pages?
    thanks in advance

    Not sure I follow .....are you asking for Page 2 and 3 to have the same table and values in the table as on Page1 or does each page have unique data?
    Where is the data coming from? Is the user typing it in or is there a separate data source somewhere?
    Paul

  • Every time I start Firefox, the upgrade/signup page is displayed in one tabe while google, my start;up page s displayed in another. How can I stop the firefox page from loading every time?

    Every time I start Firefox, the upgrade/signup page is displayed in one tab while google, my start-up page is displayed in another. How can I stop the firefox page from loading every time?

    See these articles for some suggestions:
    * https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • How can i display a message box when error comes in jsp?

    Hi,
    i need to display a message box whenever an error comes in my jsp. Actually my appln is that i am creating a bar chart using one applet by taking data from the database. When a user does not select a number data for y axis, now in the centre of the web page one java error is coming. "not in number format". it is looking very odd.
    so i want to display the error in a message box whenever it comes as above. pls help me how can i do the same...
    Regds,
    Abhi...

    Hi,
    thanx for ur response. so u mean to say that i can
    display the errors in the web page itself instead of
    displaying as a message box?Either way. You can have the JSP send a message to the applet to display a message box. Or you can just have the JSP do it. or you can have the applet detremine if the JSP would produce an error and then display the message it would display.
    >
    actually i am using servlets. jsp pages are used only
    as the front end. all the background works are doing
    in servlet only.It should be the same in any case. Is the applet connecting to the JSP pages or are you having the browser do it?
    >
    pls get back...

  • How can I add the same song more than once?

    how can I add the same song to my ipod shuffle more than once?

    Thanks. I tested it, and found that I can create a bookmark in FolderA, and them manually copy it to FolderB, FolderC, and FolderD.
    Once that is done, I tried the old method of "Bookmarks" --> "Bookmark This Page" and added it to FolderE. When I did that, it deleted the copy in FolderD but left the other three alone!
    This is fine with me. I personally think this is a bug, because I don't think that Firefox should ever delete a bookmark without asking me (or at least, informing me). But now that I understand the algorithm, I can work around it. Thanks!

  • How can i see the next page in smartform?

    i hav created a Second Page (%page 2) in Smart form.
    and in that page i created one Main window and a table.
    in 1st page, i defined the Next page as Page2 and
    in the second page i defined the Next Page as Page2.
    but only the 1st page is displaying. how can i see the next page?
    what i want to do in smartform...

    Hi,
    The second page will be displayed only when the data does not fit in the main window of the first page and continues to the second page.
    So make sure that you have enough number of line to print that it overflows to second page.
    Ajith

  • How can I display the data in table in separate column?

    I have a vi reading data one by one in the same column.
    How can I display the data with separate column?
    like this:
    data 1 | read | read
    data 2 | read | read
    data 3 | read | read
    (would you mind if I will ask for an example
    because it is much easier for me to work
    with an example)
    THANK YOU.

    If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
    Attachments:
    Data_Column_Example.vi ‏18 KB

Maybe you are looking for

  • ORA-12545 .... host or object does not exi

    Hi there. Im tiered from that Trying install 8.1.7 on Red Hat 7.0. Not working. (I read all from what I cud from this group, but still dont know what to do ) I installed glibc 2.1.3. After that I was able to create a database. I can open it, connect

  • Problem exporting to excel when using embedded web templates through WAD

    Using web templates designed with WAD, we are experiencing an issue when trying to export excel when using embedded web templates.  We have set up tabstrips within our templates that load other templates (embedded into the global template).  Upon rig

  • Netui:select seems to be broken in Portal 9.2

    Hi I have problems with the tag and I slowly think it might be a bug in the tag. The optionsDataSource attribute seems not to work anymore. It only puts the actual text '{pageFlow._options}' in the dropdown box. I tried to use it with the pageFlow an

  • Regarding downpayment

    hello experts,              Can anyone tell me the exact concept behind down payment for customers and vendors. What all steps do i need to do that ?? thank you

  • I was trying to update my imac now i can't do anything

    i was trying to update my imac now i can't do anything