Form info lost when back btn is clicked

Hi all,
I am writing a simple web application with a controoler.
Each request is sent to controller and it redirects to the JSP page.
To redirect to a page the code is response.sendRedirect(frwdPage).
Now when a user fills a form and clicks the next btn the request
is sent to controller and all the form information is put in session
object and next page is opened.If the user clciks back button all the
form information is lost and it is blank.
Why is it so?How cal I prevent it from getting lost.please suggest
thanks

This is up to the browser. If the browser forgets forms there is little you can do - except get a better browser. I use Firefox (recommended!) and it sure remembers form data.

Similar Messages

  • Redirect when Back Button is clicked

    I have 4 pages in my application:
    Page1.asp (form page using the POST Method)
    Page2.asp (Insert to Database script + Redirect to Page3.asp)
    Page3.asp (Page displaying the the confirmation of insertion)
    The problem I'm facing is that once on Page3.asp (confirmation page), if the user hits the Back Button, it brings him back to Page1.asp with the form already filled with data previously entered. Eventually, the data can be inserted twice.
    Is there a way to redirect the user to say Page4.asp when clicking the back button from Page3.asp?

    I tried that but when the user clicks the Bak Button from the Browser, it doesn't see the Session Variable right away, unless the page refreshes. Is there a way to refresh that page when the user clicks the Back Button?

  • Some Song Info Lost When Played or Info Viewed

    I've only noticed this on one song so far, but it's driving me crazy. Whenever this song plays, or I click "Get Info" the artwork and number of tracks on the album for that song are lost. (So under track, it goes from saying "5 of 12" to "5".) I had no idea what to search for exactly as far as past posts, anyone had this problem?

    If TidyMP3 doesn't fix it, then it's some deeper problem with your system. TidyMP3 strips a file to the bone. It takes away all tags, of any type whatsoever. It works by simply removing everything that isn't a music frame from the file. What's left is just totally bare. Then, when you use iTunes to add tags, you're working with the cleanest possible file.
    So if Tidying the file still causes problems, you have some deeper problem. The file isn't writable or some other program is reworking the tags and eliminating the artwork, or something else. This is not an iTunes problem or a problem with the file. There must be some third factor at work.

  • Rollovers stay highlight when back button is clicked

    Hi All,
    I am a novice Dreamweaver user so please forgive me if this
    question is basic... I have looked everywhere for the answer. I am
    designing my page and I have created rollover through Behaviors.
    They work great, but the problem that I am running in to is that
    when I hit the back button they are still highlighted and do not
    unhighlight until I mouse off them again. I have read that this is
    a IE problem, but I am testing with Firefox 3.0, Safari (newest)
    and IE (newest) and I am getting the same problem with all. Is
    there any way to fix this? I will post the code for one link.
    Thanks in advance.
    Joe
    <div id="clientsDIV"><a href="clients.html"
    onfocus="active"><img
    src="images/main_menu/buttons/clients.png" alt="clients" width="88"
    height="17" border="0" id="Image6"
    onmouseover="MM_swapImage('Image6','','images/main_menu/buttons/clients_ro.png',1)"
    onmouseout="MM_swapImgRestore()" /></a></div>
    realityplay is offline Reply With Quote

    If people are having to click the back button to use your
    site, then your
    navigation is inadequate. Why are the having to do this?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "realityplay" <[email protected]> wrote in
    message
    news:gp0tbb$ptl$[email protected]..
    > Hi All,
    >
    > I am a novice Dreamweaver user so please forgive me if
    this question is
    > basic... I have looked everywhere for the answer. I am
    designing my page
    > and I
    > have created rollover through Behaviors. They work
    great, but the problem
    > that
    > I am running in to is that when I hit the back button
    they are still
    > highlighted and do not unhighlight until I mouse off
    them again. I have
    > read
    > that this is a IE problem, but I am testing with Firefox
    3.0, Safari
    > (newest)
    > and IE (newest) and I am getting the same problem with
    all. Is there any
    > way to
    > fix this? I will post the code for one link. Thanks in
    advance.
    >
    > Joe
    >
    > <div id="clientsDIV"><a href="clients.html"
    onfocus="active"><img
    > src="images/main_menu/buttons/clients.png" alt="clients"
    width="88"
    > height="17"
    > border="0" id="Image6"
    >
    onmouseover="MM_swapImage('Image6','','images/main_menu/buttons/clients_ro.png',
    > 1)" onmouseout="MM_swapImgRestore()"
    /></a></div>
    > realityplay is offline Reply With Quote
    >

  • Close Window when Back Button is Clicked on Movie Presentation

    I have a .swf movie that is accessed through a link on a website. At the end of the movie are two buttons: one for "Back" and the other for "Replay." Thanks to the helpful people on the forum here, I have the buttons working so the Back button goes to the previous URL and the Replay button, well, replays.
    However, the Back button opens a new window. Is there a piece of Action Script 3 that I can add to the following to close the window in my .fla Action Script Window to close the window as it jumps to the URL? Here is the script.
    stop();
    var link:URLRequest = new URLRequest("urlgoeshere");
    bck_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(event:MouseEvent):void
    navigateToURL(link);
    play_btn.addEventListener(MouseEvent.CLICK, playMovie);
    function playMovie(event:MouseEvent)
    play();
    I don't have access to the full HTML page, so I can't use javascript. I'm working through a CMS application to add content to the website, so I need to make this window close using Action Script 3 as part of the .swf file.
    Thank you,
    Marilyn

    does it matter if you close the window?....how about just opening the page in the same page....
    use
    navigateToURL(link, "_self");
    thelegendaryghost

  • Form field validation: All required data lost when clicking browser-back-button!

    Hi folks,
    I have a big problem using the validation text  field components of Spry when the user must click the browser back button (or clicking a history.back()-Link) because he has  entered a wrong CAPTCHA-code!
    Right now, all the data - only in the required fields - not in the optional  fields!!! - is lost and the user has to enter all data once  again;-(
    Does anybody know why only the data in the  required fields is lost? Is there a nice workaround?
    I really  appreciate a quick answer:-)
    Kind regards from cloudy Germany
    Thomas

    rememberFormInputs('frmlogin', 'input-');
    'frmlogin' should be the id of page, not the name. so on your <form> tag, add the id="frmlogin"
    remove the
    // overload alert
    function alert(str) {
         var el = document.getElementById('alert');
         if (el) {
              el.value += str+"\r\n";
    Its really bad practice to overwrite the alert. and inside the rememberFormInputs remove these lines:
    alert('old value remembered: '+old_value);
    alert('setCookie: '+name + ' = '+value);
    and it should work

  • HI Iam trying to get into my account in Adobe Form Central and when i click on sign in..not working

    HI Iam trying to get into my account in Adobe Form Central and when i click on sign in...the screen shows " this page cannot be displayed" is there a problem with the site?

    I just found that Amazon web services does have a network issue with one of their instances that is affecting some regions around the east coast, this could be affecting your ability to sign into FormsCentral.  They will likely have that back up soon and assuming that could be the issue it should be fixed shortly.
    Thanks,
    Josh

  • How to redirect to a different page when a browser's Back button is clicked

    In my application a user logs-in and searches on the form provided. Now
    If a I click on browser's Back Button I see a message saying Page Has Expired, now at this point if I click on the browsers refresh button it shows me the page again.I want if browser back button is clicked and then Refresh button is clicked I don't want to show the same page rather redirect to a different page and invalidate the session. Is there a way clicking on browser back button I redirect to a different page.I have the following code on top of each jsp pages:
    response.setHeader("Cache-Control","no-cache"); //forces caches to obtain a new copy of the page from the origin server
    response.setHeader("Cache-Control","no-store"); //directs caches not to store the page under any circumstance
    response.setDateHeader("Expires", 0); //causes the proxy cache to see the page as "stale"
    response.setHeader("Pragma","no-cache"); //HTTP 1.0 backward compatibilityAny help is appreciated. Thanks

    There's no way to know when the back button is clicked, so I don't see how you can do anything about it. Since that message comes from a page which was created by a POST form submission, you can put some unique value in a hidden field that let's the server side record and if it gets it again (from the reload) then it can ignore the form data and redirect.

  • Acrobat Pro: Create PDF Form Export so it's not editable User fills out and info is emailed back to me

    I have zero experience with PDF forms. A client needs to have the email addresses changed in an older PDF form, so I've opened it in Acrobat Pro, changed the existing email addresses and am now stuck. How do I save it so it's not editable by the end-user? Everything I've tried (Distribution via email, flattening, security) have not worked; either the form fields get stripped out or I receive nothing via email and I can still open the distributed form and edit the fields.
    I need it so the end-user will view the form in their browser
    Fill out the fields
    Click submit and the info is sent back to me via email.
    If they download the PDF they can NOT edit it.
    Thanks!
    Tim

    Open the PDF and do the following:  File> Save As> Reader Extended PDF> Enable Additional Features

  • So i got the update on my ipod touch 5th gen and when i got it it asked me for my old itunes acount and password, except i no longer have that info for the back up and it wont let me by pass at all, i need a way to just restart it

    so i got the update on my ipod touch 5th gen and i got asked me for my old itunes acount and password so i can get the back up from icloud, except i no longer have that info for the back up and it wont let me by pass at all, i need a way to just restart it

    You need to recovery and use it. Sounds like you are running into:
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • When i tried syncing my ipod to my itunes it said i had to download mac os 10.7, i did, but now when i go to click on safari, it tells me i cant go on it without mac os 10.7 and i cant get on the internet, how do i get my safari back even the old version

    hey, i attempted to download mac os 10.7 so my itues would work and now my safari wont work, is there anyway i can go back to an older verison just so i can have internet as when i go to click on safari it comes up with an error saying 'you need to download mac os version 10.7 for safari to work' i really need the internet as i have GCSE's in 17 days can anyone help me get my safari back please.

    Beginning with Firefox 4, Macs must have an Intel x86 processor ('''''which you have''''') '''''<u>and</u>''''' OSX 10.5 or higher ('''''which you do NOT have''''').
    *System Requirements: [https://www.mozilla.org/en-US/firefox/4.0/system-requirements/index.html Firefox 4] [https://www.mozilla.org/en-US/firefox/5.0/system-requirements/index.html Firefox 5] [https://www.mozilla.org/en-US/firefox/6.0/system-requirements/index.html Firefox 6] [https://www.mozilla.org/en-US/firefox/7.0/system-requirements/index.html Firefox 7] [https://www.mozilla.org/en-US/firefox/8.0/system-requirements/index.html Firefox 8] [https://www.mozilla.org/en-US/firefox/9.0/system-requirements/index.html Firefox 9] [https://www.mozilla.org/en-US/firefox/10.0/system-requirements/ Firefox 10]
    '''''The good news''''' is that Firefox 3.6.x still supports OSX 10.4 and Macs with the PPC Mac or Intel architecture. '''''The bad news''''' is that support for the Firefox 3.6.x series is likely to end in the first half of 2012.
    *System requirements: [https://www.mozilla.org/en-US/firefox/3.6/system-requirements/index.html Firefox 3.6.x]
    *Download Firefox 3.6.x: https://www.mozilla.org/en-US/firefox/all-older.html
    *Also see --> http://support.mozilla.com/en-US/kb/Installing+Firefox+on+Mac
    Updating your OSX to 10.5 or newer will allow you to use Firefox 10.
    *Also see news about latest OSX version --> http://www.tuaw.com/2012/02/16/mountain-lion-drops-support-for-several-older-mac-models/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How to retrieve all datas that lost when i update my iphone4 to that 6.10 ios. i tried to look at may i tunes in my computer but it seems that i forgot to perform back ups since i purchased this phone 2yirs ago.. pls send me an advice..thank u.

    how to retrieve all datas that lost when i update my iphone4 to that 6.10 ios. i tried to look at may i tunes in my computer but it seems that i forgot to perform back ups since i purchased this phone 2yirs ago.. pls send me an advice..thank u.

    All of the data should be on your computer, simply sync it back.
    If the update was done via iTunes on the computer, the first step in the process is a backup of the device.

  • I am in the process of trying to transfer my iTunes library from one computer to another. Some of the music/film info has been edited (by me) in my library (using get info). When put onto new computer the info has gone back to before i edited it.. Help!?

    I am in the process of trying to transfer my iTunes library from one computer to another. Some of the music/film info has been edited (by me) in my library (using get info). When put onto new computer (following apple's instructions- using an external hard drive) the info has gone back to how it was before i edited it.. Help!?

    Hello,
    I would recommend taking a look at the article below for more information about migrating your iTunes library.
    iTunes for Windows: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1364
    -Griff W.

  • Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Form

    Hello. I have adobe forms and received the alert that it will be ending in July. Then I received an email about Adobe Acrobat XI Pro which can create forms. I signed up for the free trial and when I began to make a new form it brings me back to Adobe Forms. My question is, when Adobe Forms ends on July 28th will Adobe Acrobat XI Pro be able to create forms or will it now? and if not, then why is adobe advertising for it still?

    What you're calling "Adobe Forms" is really Adobe FormsCentral. The FormsCentral service is indeed going away soon, but you can always create PDF forms (AcroForms) with Acrobat. Acrobat also comes with a desktop version of the FormsCentral desiger, which can be used to create simple PDF forms that can be used apart from the FormsCentral service. So you'll no longer be able to create and host web forms with the FormsCentral service or use PDF forms with the FormsCentral service. You will be able to create standalone PDF forms with Acrobat and simple PDF forms with the FormsCentral desktop app.

  • My Firefox start page had a check box for searching Canadian pages which was lost when I upgraded to 4.0. How can I get this back?

    My Firefox start page had a check box for searching Canadian pages which was lost when I upgraded to 4.0. How can I get this back?

    The default about:home page in Firefox 4 doesn't give such features. You can set the home page to http://www.google.ca to get that possibility. The results page has a "Pages from Canada" link in the side menu at the left.

Maybe you are looking for

  • Brand new iMacs & an external USB drive disappeared on one of them - help?

    I'm new to this particular forum & I just bought a 2.8 GHz intel iMac (my wife is picking up for me this moment) - my boss just bought a 3.06 GHz intel iMac a few days ago, he installed Parallels & then Vista Ultimate w/SP1. He has an external USB ha

  • Ibook will not boot into OS or off disc

    I have a G3/500 ibook, it turns on and the display seems fine, but it won't boot into the OS on the HD or off a disc. I replaced the HD with one which i know works, still nothing, so i booted with volume select from a firewire dvd drive (the cd drive

  • The color replacement tool  does not exist in photoshop cs6

    Hi guys! I have a huge problem with my new photos hope cs6, it doesn`t have a Color replacement tool button, I mean this Icon In addition I searched category under brush tools but it doesn`t exist Just I have color replacement in Image > Adjustment>

  • Materialized view query (Oracle 9i)

    I have dropped a materialized view query and trying to create the same with additional columns in the prebuilt table. Option - 1 when Iam using a query in the materialized view query "select * from schema.table@link, with refresh mode fast option, th

  • TOC - one chapter heading, multiple page headings

    Any one know how to automate categories with in a ToC?  I'm trying to get ... cars item pg1 item pg2 item pg3 trucks item pg4 item pg5 item pg6 item pg7 ... Right now each page has "Cars(or trunks) | item" in it.  I'm getting ... cars item pg1 cars i