Why does my form data gets cleared out when clicking on the back button.

Can someone explain why does my form selections get cleared out when clicking on the back button.
I have a JSP page that displays a form with some selections and text boxes. I populate the page and submit the request. The action on the submit call another jsp page, which processes the data and displays the results via a <jsp:include> statement which calls the results page. When clicking on the back button from the results page, it returns me to the form page, but the selections are cleared out.
1. Is there something in my calling of the pages that causes this behavior and can I prevent it?
I notice that the behavior is different when using the IE 6.0 version Netscape 7.1. IE clears the page Netscape 7.1 retains the settings.
If I cannot prevent this behavior does that mean I will have to save the state of the form data. And if I have to save the form data, what would be the easiest method of doing this. I'm a beginner to JSP and Java, but have some ASP experience. I don't understand why the back button in a JSP request clears the form data but a regular HTML page does not can someone explain?
THANKS.

the browser doesn't have to remember what you submitted and fill that back in.
you can't prevent it unless you can ensure a new request to the server in which you can fill the default values in there.

Similar Messages

  • Why does my email address get messed up when people hit reply sending from Mac Mail 4.6

    Why does my email address get messed up when people hit reply sending from Mac Mail 4.6
    OSX 10.6.8

    I talked to our email provider and they say it has to do with the way thre recipients email address book has recorded the address. They say that they need to fix the address on their end.

  • Why are my Illustrator images getting thicker strokes when I take the bounding box and make them smaller?

    Why are my Illustrator images getting thicker strokes when I take the bounding box and make them smaller? This has never happened to me. I'm not an expert at Illustrator, but I do know some fundamentals.

    Thank you for responding so quickly. No apologies necessary - I know this Forum isn't McDonalds - don't expect an answer to be served up right away. You helped me out with a big issue yesterday.
    I am using a mac - OSX 10.7.5
    I have Adobe Creative Suites - CS5 - Illustrator version is 15.0.2
    The contents I am placing are all  Vector - Illustrator files
    But, I wonder about some of the vector files I work with.  Could a "line weight/thickness" be 'assigned' to the drawing and screw things up? I used 'simple' linear (line) drawings from SolidWorks that have been converted to ai files. It's just weird because I checked the stroke of the drawing and it's not out of line.
    I am attaching part of some box labels. You can see how the drawings, of the products, on the 'left side' are "thick" after embedding them. I think the "Global Logo" was pasted into a template not linked that's why it's okay. But look at the Quiet Thunder logo - it looks terrible. These labels are only 2.25" X 6.5", so its important I keep the images lightweight. 
    Your help is very much appreciated. Thank you!

  • Why is it every time i plug my itouch 5 in our desktop pc i get electric shocks when i touch the back of it or the camera?

    Every time i plug it into our desktop pc i get electric shocks when i hold the back of it or the camera or the loop holder. But its okay when i plug it into my laptop. I

    Make an appointment at the Genius Bar of an Apple store. Bring the cable too.
      Apple Retail Store - Genius Bar

  • LOve Firefox but it's annoying that if I'm using a search engine (I use lots of subscription legal search databases), when I press the back button all the data I entered in the search boxes has disappeared. I'm sure Firefox didn't use to do that?

    Love Firefox but it's annoying that if I'm using a search engine (I use lots of subscription legal search databases), when I press the back button all the data I entered in the search boxes has disappeared. I'm sure Firefox didn't use to do that?

    Please do the following.<br><br>
    #Click the Firefox button, go to '''Options '''| '''Options''' | '''Privacy'''.<br><br>
    #In the dropdown menu at the top, change it to "'''Use custom settings for history'''"<br><br>
    #Checkmark the option: "'''Remember Search and Form history'''".<br><br>
    #Remove the checkmark from: "'''Clear history when Firefox closes'''".

  • There was an error communicating with the server. Click on the back button in you browser and try resubmitting the form.

    I've had several users complain of receiving this message after they have filled out and submitted a form.
    There was an error communicating with the server. Click on the back button in you browser and try resubmitting the form.
    However the data is being saved in forms central. I can't duplicate the issue on my end but it seem to be happing frequently with other users.

    Do you mind emailing the URL of your fillable form to me ([email protected]).
    I would like to investigate as to what the issue might be with Internet Explorer.
    Sorry for the inconveniences.
    Gen

  • Why do google search results reset to match the search bar terms when i use the back button?

    Since the update to FF 23, the list of Google search results clears and the on-page search box is reset to match the address bar search box when I hit the back button to re-view the results list after checking a result.
    To see this issue for yourself, set your search provider to Google and make sure Instant is on. Type a search term into the search bar and press enter. A google page appears with your results list. Now, change your search terms or conduct a new search directly from the google page (without using the FF search bar). Click on the first result in the search list, then click the back button to return to the search results so you can check a differest result. As FF goes back to the google page, it will reset the on-page search box to match the FF search bar (although you were no longer on this search) and all search results will disappear, replaced by the message "Press enter to search". Pressing enter reconducts your old search, not the one you were on.
    This is incredibly maddening since searching for something requires frequent use of the back button to check through the list of search results, and then frequently trying the search again with slightly different terms. Although it sounds like a Google issue, it did not occur on the old firefox and has me wanting to revert. I tried to revert to the old search function via the "keyword search" addon, but this did not fix my issue. Is there a way to force FF to go back to the actual google search page I was just on instead of conducting a new google search from the FF search box when I hit the back button?

    In Firefox 23 versions and later the keyword.URL pref is no longer supported and it is no longer possible to specify the search engine for the location bar via the keyword.URL pref.<br />
    The search engine that is used on the location bar and on the about:home page is the search engine that is selected in the search Bar on the Navigation Toolbar.<br />
    Current Firefox versions do not update the about:home home page until you refresh the page (future versions will do this automatically without a refresh) and that is what happens if you use the Back key.
    You can install the Keyword Search extension to specify with search engine to use for the location bar and which search engine to use for the about:home page via the Options/Preferences windows of this extension, accessible via the about:addons page.
    * Keyword Search: https://addons.mozilla.org/firefox/addon/keyword-search/

  • Issue of data getting wiped out when user clicks on back button..

    Hello Gurus,
    I have a selection program which displays ALV on execution. Now I have programmed the "Back" Button of standard toolbar so that when comeone clicks on it, it should leave to selection screen.
    WHEN 'TBACK'.
          LEAVE TO TRANSACTION SY-TCODE.
    But when I do that, the values entered by user during execution of selection screen wipes out and all the selection fields become empty. How can I make sure that when sure clicks on 'Back' button, the selectiuon screen is presented but with values in which user put during execution.
    Regards,
    Rajesh.

    Hi Rajesh ,
    Leave to transaction sy-tcode is as as good as call transaction...so basically using this statement will start the transaction afresh..and give a new selection screen....
    Better option would be to leave to screen 0 (preferaby used for a report )which will take you back to the previous screen processed or leave to screen XXXX for a particular screen( in case of a module pool )
    Hope it helps
    Regards
    Byju

  • Why isn't my Face Time screen expanding when I press the arrow buttons? I am getting a very narrow view. I want the entire screen.

    Why isn't my Face Time view expanding to show the entire screen when I press the arrows on the corners of the screen? I'm only getting a narrow view.

    If you've tried holding down both buttons together for 30-60 seconds and still nothing, you need to make an appointment at your nearest Genius Bar to have it evaluated. They will give you your options at that time.

  • Why does black astrisk appear on some photos when clicked ?

    why does a black astrisk appear on some photos when clicked ?

    Are you talking about an exclamation point?  "!" 
    If so that is an indication that your library has damage - what version of iPhoto do you have?
    LN

  • Why does my iPad 4 keep shuting off when i enter the mail function?

    WHY DOES MY IPAD 4 KEEP SHUTTING DOWN EVERYTIME I TRY TO GO TO MY MAIL?

    Close the Mail app in the Task Bar and re-launch.
    Double-click the Home button to reveal Task Bar. Hold Mail app down for a second or two until it wiggle; tap minus sign to close app.
    If it still doesn't work, try a reset.
    Hold the Sleep and Home button down until you see the Apple logo.

  • Why does my audio quality drop big time when I use the compressor to compress my final cut studio project?

    Hi,
    When I'm working on a project, my audio sounds great but once I put my project though the compressor it looses it's volume big time when I play the DVD on a DVD player or computer. Where does the problem lie? How do I maintain the smae quailty of audio on the finished DVD?
    thanks in advance,
    Iki

    You'll need to duplicate the Dolby Digital preset then alter the duplicate so that the DialNorm setting is -31dbfs and the Compression is set to NONE. Use the new, custom preset to create an ac3 file with the same output levels you had in your FCP Sequence.
    -DH

  • Getting a error when clicked on the EWA report

    Hi All,
    I am getting the below error when i click on the EWA report.
    Error: &EA1000000002570&: Attribute not found: &TEXTPARAM& &check_244_comment&, Program SAPLDSVAS_PROC, Include LDSVAS_PROCERI, Row 48

    hi
    pls refer the thread
    [Ealry watch alert report is not displayed in solution_manager|Ealry watch alert report is not displayed in solution_manager]
    and
    [Re: EWA report is not displayed in solution_manager|Re: EWA report is not displayed in solution_manager]
    jansi

  • I keep getting signed out when returning to the ap...

    I'm having the problem on my iPad that I'm signed into skype and when I go to another App then go back to Skype it has signed me out and has to sign backin, automatically. It use to stay signed in ALL the time.
    I'm trying to get ananswer,supposedly on the 5th of this month there was going to be a fix, but nothing. Can ANYONE help ?
    Thanx

    Hello seraphim,
    installing"? Be careful with (de)installing aso. by (de)installing by your own resources. As much as I regret it and as strange as it may seem I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool, because sometimes - for whatever reasons - CC doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: Adobe Creative Suite Cleaner Tool helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html  and follow the prescribed sequence of operations
    Maybe you have to activate/deactivate too, so please have a look there:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    Sometimes, we know in the meantime, the "opm.db file" is the culprit. In this case you should delete it.
    If necessary and for further questions click through http://helpx.adobe.com/contact.html or http://helpx.adobe.com/de/contact.html and if "open" please use chat, I had the best experiences.
    Good luck!
    Hans-Günter

  • Why does closed documents always open up again when I use the program

    Why is it that recently opened documents always opens up whenever I reopen the program to access other files?  The previous opened file will always reopen again automatically whenever I access the program to open other files.  This has happened after I upgraged to 10.7 and, so far, occurs in Preview and Pages.  I've not used other applications so I don't know if it happens with those as well, i.e., Numbers, etc.  Any help with debugging this would be appreciated.

    Mate - it's not a bug... it's a feature called Resume.
    In essence, if you don't close a window before you quit the program, you will get that window back again when you next open the program.
    You can change this behaviour in System Preferences. Click on General and untick "Restore windows when quitting and re-opening apps".

Maybe you are looking for

  • Publishing no longer works in latest Edge

    Publish seems to not be working in this latest Edge. All of our projects published using the latest version get stuck on the preloader. Not sure why but yesterday everything published fine. Today under the new Edge all of our files get stuck in the p

  • Can i upgrade a power mac g5 to snow leaopard

    I am trying to add a new linksys router ea3500 and it will not run the setup utility becasue it says my "architecture is not compatible....will upgrading to snow leaopard help? or is my computer just too old for this?

  • Setting the TFTP destination for RME Archive Sync

    Hi, We are attempting to do an Archive Sync from RME in LMS 3.2. LMS is installed on a Solaris device with multiple VNICs (let's define VNIC1 IP as 1.1.1.1 and VNIC2 IP as 10.0.0.1). The network which has managed devices on it is connected to NIC 2 i

  • IChart_ Y Co-ordinate for all Tags in Legend

    Hello All, I am using a ichart to display the trends of various parameters.(industrual parameters like motor temperature, amps, speed etc.) I can see the X and Y value of the mouse or a when a single point is selected; I can see the X, Y co-ordinates

  • Rating images with keys (1-5,9)

    Hi, On my MacBook Pro when I try to use the number's key to rate images, it don't work. When I look at the commands in menu and keyboard they are there, except that the keys (1-5) are not assigned. If I use a keyboard with an extended layout and use