Keep the data among multiple pages

I have MyForm.jsp for the form, and MyAction.jsp that process the
request.
MyAction.jsp will interact with another system, if it fails, then it
will show MyForm.jsp with the data entered by the user again.
Everything is in the same browser.
In my case, should I keep the data in the session, so that it can go
back? Maybe I should
use <jsp:forward> tag also?

I have MyForm.jsp for the form, and MyAction.jsp that
process the
request.
MyAction.jsp will interact with another system, if it
fails, then it
will show MyForm.jsp with the data entered by the user
again.
Everything is in the same browser.
In my case, should I keep the data in the session, so
that it can go
back? Maybe I should
use <jsp:forward> tag also?Yup, puuting the data in session is okay. But if you use jsp:forward, you could put it in the request attributes as well, since the forward will use the same request. This will lower the scope of the data so multiple submits from the same user don't trip over each other.
One thing you might think about is saving the data in a JavaBean specifically designed to transport the data (this is often called a Data Transfer Object). This will make it easier to store and retrieve the data in an understandable and uniform manner between multiple pages.

Similar Messages

  • Can I keep the data from multiple users on a Time Capsule separate?

    I have a Time Capsule which I use as a wireless router, etc. Everything is working fine. I have another user I'd like to allow to back up data to the same Time Capsule (using Time Machine as well). However, I'd like to keep the backed up data separate so if there was ever a need for a restore, our data wouldn't be jumbled together. It appears that there is no way to back up my data to one folder on the Time Capsule, and this person's to another...or am I naive, and the Time Capsule is doing this for us automatically?
    Regards.

    Yes, Time Machine backs-up your entire system, unless you specifically tell it not to. So that user's stuff is already being backed-up. See #26 in Time Machine - Frequently Asked Questions.
    The backups are in the same folder hierarchy, with the same permissions, as on your Mac; so each user is separate, and even an Admin user doesn't have access to a different user's files.
    When you do a full system restore from your backups, everything is copied back, just as it was.
    Via +Setup Assistant+ or +Migration Assistant,+ you can restore selected users and their data to a different Mac, either from your backups or directly from your Mac.

  • How to keep the data entered on a page apex

    how to keep the data entered on a page apex
    so, I've got a registration page then wish go to another page P2 and I return to this P1 without losing data

    Hi,
    As long as the registration page is within the same session, the values will remain in the session until they are specifically cleared out. This can be done by a process on a page - so check if you have a "reset page" process on P1 and, if you do, delete it. This can also be done on a branch - so check the branch that takes you to P2 and see if there is anything entered in the Clear Cache setting and, if it shows *1*, remove that. There are other ways as well, but these are most typical.
    Andy

  • Data in multiple pages in smartforms

    i have a normal window which has lots of data, problem is it shows only first page. how can i show all those data in multiple pages?
    there is also a main window. this normal window will show up only after that main window.

    use main window to do that
    OR
    in the initialization put al your outputdata in an internal table and program this so that the table has 2 fields,
    field_1 has pagenumber
    field_2 has display information.
    define your window as late.
    according to pagenumber display relevant info in that page with a loop.
    Regards,
    Guido

  • Am I able to tag a data point of a spreadsheet that is being created by a datalogging VI such that at the end I have the data with multiple tags which corelate to events during a measurement cycle

    Am I able to tag a data point of a spreadsheet that is being created by a datalogging VI such that at the end I have the data with multiple tags which corelate to events during a measurement cycle
    My final need is to take data from a datalogging VI and store it in a spreadsheet with tags that corespond to events in a subVI which is controlling motor movement. This will allow users to view all data and mark the relevent data for analysis. As usual, user want everthing but with conditions.

    Sure. What you do is take the numeric value acquired, the tags you want, and build them into an array. So now, when you write to the spreadsheet, you'll have a 2D array. One thing you have to keep in mind is that all elements of an array have to be of the same type. So if your tags are strings, you'll have to convert your numeric data into strings as well.

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

  • How to Hightlight the Data in Jsp Page

    How to Hightlight the Data in Jsp Page,
    I am doing doing search page,based on values given search page those are sent to servlet,in servlet based on some conditions if particuler id i am getting then i am redirecting to Respective jsp page with highlight the data from database..
    Thanks in advance...

    "Highlighting data in JSP sounds strange".
    Without looking at your search specific algorithms I feel you are finally going to display a page (HTML content) to user which contains highlighted text. Highlighting is not directly related to server side language you use (JSP, ASP, PHP etc.). This is purely HTML and CSS. However, server side script (such as JSP) should generate HTML content for getting highlight effect.
    Following HTML shows highlighted text using background-color property on span element.
    <html>
      <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
      </head>
      <body>
          <p style="font-size:1.1em">This is a long paragraph which contains <span style="background-color: yellow;">highlighted text</span> and non highlighted text.</p>
      </body>
    </html>Thanks,
    Mrityunjoy
    Edited by: mrityunjoy on 14 Jun, 2010 3:30 AM

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • Bug report: Controls in the Data Entry property page reset when using relative time

    Create a blank VI.
    Drop a numeric control.
    Right click and select "Display Format".
    Change to a relative time.
    Switch to the "Data Entry" tab page.
    Uncheck the "Use Default Limits" boolean.
    Try changing the values and you will see that they return to their previous values (inf, by default). This persists even after pressing OK and opening the dialog again. It looks like the values are held in a cache and put back into the controls, since if you change a page and go back to the limits page, it shows the correct values. I also managed to get it to display the values using the correct format (relative time), which I assume is what it should be doing.
    This is in LabVIEW 8.6.
    Try to take over the world!
    Attachments:
    Relative Time Data Entry Bug.vi ‏5 KB

    I spent some time playing around with this in 8.6.1, and at this time do not consider it a bug - unless there is something I completely missed.
    When you set to relative time, the inputs for data entry are expecting HH:MM or HH:MMS, depending on which display setting you chose.  Typing a '7' is undefined - does the user mean hours? Minutes? Seconds? Parsecs ?
    Once we type in a value that matches the format and we get the display to change, it is true that from now on if we type '7' in the field, it will automatically coerce it to 7:00, if we type 36 it coerces to 36:00.  If we type 7.5, it does not change the value at all.  I think at this point, the user knows what is going on, so this behavior is acceptable.  After accepting the changes and re-opening the properties window, the limits are persistent.
    I was not able to reproduce typing a '7' in the limit, having it automatically coerce back to '-inf', then going to a different tab or clicking ok, and coming back and seeing it as 7:00. It was still '-inf'.  If you have some more details on this, maybe I can reproduce it, but from everything I tried, users are be able to enter values and these values are saved.
    Edit - I am aware of the other forum post and the CAR filed there...
    Message Edited by Robbob on 03-03-2009 11:20 AM
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video
    Attachments:
    2009-03-03_105522.jpg ‏51 KB
    2009-03-03_105336.jpg ‏58 KB

  • Change the data selection tab page in an InfoPackage

    Hi SDN Community,
    Is it possible to have an Infopackage and change the data selection tab page ? Because  I would like to know if  I can change the select-options by a parameter.
    For example: Now you can enter 01.01.1950 as the start date and 31.12.9999 as the end date,
                          I only want that the user enter the start date.
    Thanks a lot,
    best regards.
    Ana

    Yes, I tried an abap routine option and the result is not good because the user can't put the information in the low (start date) parameter.
    Thanks

  • How to export the data to Multiple sheet in Excel

    Hi,
    How can I export the data to multiple sheets in excel using Crystal Report XI.
    Thanks,
    Baski.
    Edited by: J_Baskaar on Mar 31, 2010 8:14 AM

    One of the 3rd-party Crystal report schedulers listed at http://www.kenhamady.com/bookmarks.html allows you to burst a report so that each group at level 1 becomes a separate worksheet inside a single workbook.

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • How can i import the data from multiple sources into single rpd in obiee11g

    how can i import the data from multiple sources into single rpd in obiee11g

    Hi,
    to import from multiple data sources, first configure ODBC connections for respective data sources. then you can import data from multiple data sources. When you import the data, a connection pool will create automatically.
    tnx

  • Hi, can I transfer my apps from my old iphone to a new iphone? And If I can, can I still keep the data stored inside those apps transferred in the new iphone?

    Hi, can I transfer my apps from my old iphone to a new iphone? And If I can, can I still keep the data stored inside those apps transferred in the new iphone?

    Old Phone to New Phone
    http://support.apple.com/kb/HT2109

  • I am not able to turn off voice over. I have tried to do settings - General - Accessibility - VoiceOver and then triple clicked it but the VoiceOver won't turn off. What can I do? I have even tried to reset the machine keeping the data, no use.

    I am not able to turn off voice over. I have tried to do settings -> General -> Accessibility -> VoiceOver and then triple clicked it but the VoiceOver won't turn off. What can I do? I have even tried to reset the machine keeping the data, no use.

    A few people have reported problems with the hand gestures since IOS 8. It's not normal, I have don't have the problem on my iPad 4.  I doubt it's a major problem but if it happens regularly I'd have it checked out by the Genius bar at the Apple Store.

Maybe you are looking for

  • Help!!!  I'm locked out and My Ipod touch will NOT go into recovery mode no matter what I do...I haven't read this problem anywhere!

    My grandson got his little hands on my ipod and has locked me out. I now get the red lable of doom and it tells me I must connect to Itunes to fix it.  Problem is I don't have the orginal computer I synced up with. (It crashed about 5 weeks ago).  We

  • Restrict some document numbers in f-44 tcode

    Hello Experts, My client requirement is to restrict some document numbers when we run f-44 , here I am entering account and company code as input and after pressing enter here it displays some records. here among the list of displayed records, I want

  • SNMP TRAP on EvENT

    Hi & Thanks for read it, I would like to design SNMP event, traps in order to be managed by SNMP Network management platform, like HP OpenView, or other. It's possible to generate a trap in pl/sql or via enterprise manager on procedure event? Anyone

  • Changing case-sensitivity while upgrading?

    The Macbook pro i recently inherited has a case-sensitive file system and I was hoping to change this by upgrading to Lion. So my question is, is it it possible to do this when upgrading to lion over the Mac store or do I need to get a solid copy of

  • HELP ME PLEASE- Internal speakers aren't recognized

    So, here's what's wrong: 1- Under sound in system preferences- output volume is muted and I can't un-click it 2-Also under sound in system preferences no devices are found under output and input 3-The sound symbol doesn't show in the top toolbar. Als