How to save information in an online survey application?

I am fiddling with writing a servlet application for Tomcat that can handle multiple concurrent internetusers answering questions presented in a jsp page, and sent back to my servlet using the HTTP POST method and a FORM.
When all these responses arrives concurrently, then I would like to know if anyone has a great idea for how to store this information without creating any bottlenecks.

I mean in a persistent storage like files or database?

Similar Messages

  • How to save state of a flash cs5 application for iphone

    Hi,
    I was wondering if anyone could tell me if it is possible to somehow save the state of a flash application so it is able to resume where it left off after being closed. For example, is it possible for a user to save games in an iPhone game written in Flash? if so could anyone point me in the right direction on where to read up on how to do this.
    cheers
    Brendan

    http://www.adobe.com/devnet/flash/articles/saving_state_air_apps.html

  • How to save PDF form results online

    I have a form that is a job application. I currently have a form made in html that sends the results to an email. The email would contain an array of results. The results are ugly because there are so many different variables. Putting the results into a PDF form would be a lot better. Here are two different options that I have worked up:
    Option 1
    I would like the PDF to be viewed by the user filling out the application and be able to be sent to the company's email directly as a pdf. I do not want the results in XML format or FDF format. The company does not have Acrobat Pro to load the results. Unless there is a way to do it without Acrobat Pro I would like to stay away from that. We are using a PHP5 system.
    Option 2
    I would like the user to fill out a form (non pdf) and my server to process the array and plug in the results into a PDF form that will send to the company's email as an attachment. The form needs to be in PDF format not FDF or XML.
    I have the programming knowledge to send the email. I simply do not know how to get the form in a PDF format after the forms are filled out.
    Thanks for your help!
    --Justin Massey

    Your first option leads for license issues if you have many applicants to deal with. The second option is reasonable, but you would submit the form data (FDF or XML) to a web server that would process the data. The data can then be used to repopulate the form to send to the administrators. I am not sure about the license restrictions on the latter, but I think it is within bounds. The issue with the second approach is the development of the system to do the process.

  • How to save information? No bootable device

    please help me!!! I am interesting in savng ALL OF THE INFORMATION from my laptop. Is it possible???
    Intel UNDI
    Copyright (C) 1997 - 2000 Intel Corp
    For Atheros PCIE Ethernet Controller v2.0.1.9 (12/15/09)
    Check cable connection!
    PXE-MOF : Exiting Intel PXE ROM
    No bootable device - insert boot disk and press any key
    TOSHIBA Sat L655D - S5066

    Satellite L655D-S5066
    Best bet is to mount the hard drive in an enclosure with a USB connection and plug that into another computer.
    -Jerry

  • I was hours into entering information into an online job application and accidentally closed the tab; is the information I entered saved or backed up somewhere

    I was hours into filling in a detailed job application on-line, a fill-in-the-blanks web-based form, when I thought by closing a tab I would simply be going back a page. Instead, it closed the entire form. The form didn't have a separate save function. When I reopened the tab all information I entered had disappeared. Can Session Restore or some other function access the version of the application containing the information?
    == This happened ==
    Just once or twice
    == I closed a tab thinking I would be moving back to another section of the document.

    Did you already read through your History and even temp files? You should be able to reopen the page/tab.
    (I feel your pain...hope you get your form back)

  • How to save terminal command as application

    Does anybody know how to save this terminal command as an application? This is the command that I use to backup my computer, but it is annoying having to copy and paste it into terminal every time I want to use it. Here is the command:
    sudo rsync -auE --progress / /Volumes/Backup
    If I Paste this into terminal, it asks me for my password, then starts backing up. When I enter it into automator or applescript editor, there is an error. Thanks in advance!

    I tried saving a shell script command in an Applescript but when I run the script, it runs but then I get a spinning wheel, as if the script is in an endless loop. Can someone clarify what I need to do?
    My script:
    do shell script "/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder & disown"

  • How do I save information onto a disc

    How do I save information from my computer onto a cd?

    Select Mac Help from the Help menu and search for "burn" to get the help articles.

  • HT4972 How to save precious information?

    I have been putting off updating the iOS on my iPhone 4 from 4.3.1 to iOS 5 or later. I have started several times using iTunes, but I always receive an alert saying that "update will delete all of the apps and media on your iPhone".  I do understand the process of "backing up" information onto iTunes prior to updating then moving "backed up" information back onto phone once update is completed.  If I "back up" elements from my phone using iTunes, prior to upgrading iOS, will it save information "inside" the apps?  Like messages/notes on notepad, dates/info written in my Calender, and MOST IMPORTANTLY  2 years worth of journal writing in my diary? If I loose contacts, music, recipes, etc they can be replaced.  2 years worth of writing in my journal can not.  I am unable to update many of my current apps because I don't have iOS 5.    Thanks in advance for any info, comments or suggestions.

    Hello Debra,
    I definitely understand your concern about what is contained in the backups.  I found a couple of resources that should help with clearing up the confusion about what is backed up. 
    The first article I found for you states the following:
    Backed-up information includes purchased music, TV shows, apps, and books*; photos and video in the Camera Roll; device settings (for example, Phone Favorites, Wallpaper, and Mail, Contacts, Calendar accounts); app data; Home screen and app organization; Messages (iMessage, SMS, and MMS), ringtones, and more. Media files synced from your computer aren’t backed up, but can be restored by syncing with iTunes.
    * Backup of purchased music is not available in all countries. Backup of purchased TV shows occurs only in the United States. Previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore.
    You can find the full article here:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/ht1766
    I also found another resource that lists information that is backed up more specifically.  You can find that information under the section titled "iTunes will back up the following information" in the following article:
    iTunes: About iOS backups
    http://support.apple.com/kb/ht4946
    Thank you for posting in the Apple Support Communities. 
    Best,
    Sheila M.

  • How to save VISA information into a configuration file

    Hi guys,
    I've got a problem that i can't quite figure out and I'm sure someone else has done this but i have searched the forums and didn't find anything suitable myself.
    I'm trying to save configuration files for my program and then reload them back in so that i can get the same state of the controls.  One of the controls I'd like to save into the configuration file is a VISA control.  has anyone figured out how to save this into configuration files?  I know that OpenG has a write variant to config but Id like to stay away from 3rd party stuff as much as possible.  Does anyone have any suggestions as to how to get around this?
    Thanks
    Brent 
    Solved!
    Go to Solution.

    The alternative to Write Keys, if you don't want a text file, is a BIN file. I do it this way when I don't want users poking around text file trying to change things, and/or for security. And it's fast.
    The attached picture shows, in general, how to do it.
    Richard
    Attachments:
    saveSettings.gif ‏11 KB

  • How to... Save information

    Hi!! I was a middel-upper user of AS2. These 3 last months I've been creating my own app for iPhone&iPad with CS5 with more/less luck.
    Now I'm asking myself a question: is it posible to save information from the app in the iPhone/iPad?? I would like to save some text (Dinamic text) so that when the users closes the app and opens it again in X days it keeps the same text he wrote... (I hope I have explained myself correctly...)
    thank you soo much!!

    Hello,
    I write a serialized object to a file thus :
    import flash.filesystem.File;
    import flash.filesystem.FileMode;
    import flash.filesystem.FileStream;
    * Write serialized object to file
    * @param object
    * @param fname
        public static function writeObjectToFile(object:Object, fname:String):void
          var file:File = File.applicationStorageDirectory.resolvePath(fname);
          var fileStream:FileStream = new FileStream();
          fileStream.open(file, FileMode.WRITE);
          fileStream.writeObject(object);
          fileStream.close();
    * Read serialized object from file
    * @param fname
    * @return
        public static function readObjectFromFile(fname:String):Object
          var file:File = File.applicationStorageDirectory.resolvePath(fname);
          if (file.exists)
            var obj:Object;
            var fileStream:FileStream = new FileStream();
            fileStream.open(file, FileMode.READ);
            obj = fileStream.readObject();
            fileStream.close();
            return obj;
          return null;

  • I need to erase the contents of my phone and restore to factory settings. Does anybody know how to save your texts so you don't lose them?  Can I back those up to iCloud?  My phone was very likely hacked (Apple's advice was to call the police!)

    "I need to erase the contents of my phone and restore to factory settings. Does anybody know how to save your texts so you don't lose them?  Can I back those up to iCloud?  My phone was very likely hacked (Apple's advice was to call the police!)"
    That was all I could put in the initial "box."  Then it brought me to this page with instructions on how to write a good sentence.
    Proceeding ...
    After going back and forth between Apple, AT&T and the police (all telling me to go to the other two) I took AT&Ts suggestion and got a new number. One tech warned against doing a backup, especially on my Mac, saying if my phone had been hacked then whatever bug was there would then invade my computer. But nobody knows how to determine if the phone has been hacked or a virus was planted there. Unfortunately I know who would have reason to do such a thing and all I can say is that he is at the top technologically and could easily do it. Almost impossible to prove, however.
    So I need to preserve my text messages and my emails as well. I backed up my photos to that Microsoft product (One-Drive) and it froze (Surprise, Surprise) with four short videos to go, and no way of stopping that (when I tried it crashed repeatedly) so I'm in crisis mode here.
    Help ...
    Running 8.0 on 5S
    Thanks!

    Betty I don't know if you fixed your hacking problem but I feel your pain. I've seen some strange things going on between my iMac and my iPhone and Apple has told me the same thing, call the police which I have done. The hackers have stole 500.00 out of my checking account have access to every internet account I use and no matter how often I change the password their right back on the account. I closed my FB account 3 times only to have someone reopen it. Right now I've got a link in my reading list (Safari) that if I click on it, it allows me to log onto my FB account anonymously.
    I've seen a green folder come out of no where while I was trying to delete my passwords out of keychain when that green folder was put into the key chain I was immediately locked out. I than went into system preferences to try to make changes to my security settings, when I clicked on the icon it wouldn't open. I've seen log files of automator receiving commands and sending out my personal information thats on my computer.
    I have a legitamate program called iExplorer that allows you to look at the contents of your iPhone back ups and saw a transaction someone made at the Apple store for some full length movies, some albums, ibooks and other apps but when I called the iTunes store and they said none of those items were showing up on my account. If their not on my account how can they be on my iPhone 6? One day someone was using my gmail account and unknowingly used google maps to search for an Italian restaurant, than a Mexican restaurant than a coffee shop and their search showed up on my iPhone but I didn't have my gmail account installed on my iPhone 6. Using my computer I logged onto my gmail account and looked at the maps history and sure enough there were the searches when I'd hover my curser over the link it gave me the longitude and latitude of the where the hacker was when he was using google maps. I know whoever reads this thinks Im crazy but I've documented everything and can prove the things that I have mentioned in this post actually happened.
    One day I had my laptop (pc) and my iMac next to each other as I was using both. when I clicked on airport it showed that my laptop and my iMac had made a connection and were actually communicating with each other. I know I didn't do it I don't know how. The iMac was logged into my iCloud account while my laptop wasn't. I have formatted my iPhone at least a dozen times, Apple and an Apple retailer have formatted my hard drive not to mention the numerous times I have formatted it but the hackers keep getting on my devices. Im formatting my lap top at this very second because during the course of the night I left the ethernet cable plugged into it and they locked me out of my c: drive, and configured the system so I can't download any updates from Microsoft, overtime I type in www.microsoft.com it changes to ww38.microsoft.com which takes me to a blank page. I right clicked on the page I was redirected to and read the java script and couldn't believe that someone had actually configured Internet Explorer to redirect me to a blank page when I tried to go to Microsoft. Apples answer to all this is there was nothing wrong with my iPhone or my iMac and if I thought there was a problem to call the police which I have done.
    Theres no doubt the hackers are reading this while I type it or will read it and I simply don't care anymore. I no longer email anyone, don't use my iCloud account and have taken precautions to protect my credit but if I ever find out who has invaded my privacy to this extreme the police are going to want to talk to me because Im going to hurt them like they've never been hurt before

  • How to save pdf file in database

    Dear All,
    my application is forms 6i and database is 8i,requirement is that how to save pdf file in database and users can view through forms

    I'll apologize up front for the length of this post. I have a few database procedures I created that write a file to a BLOB column in a table as well as retrieve the BLOB from the column after it stored there. I have successfully stored many different types of binary file to the database using these procedures - including PDF files. I have not used these procedures in a Form so I can confirm that they will work, but theoretically they should work. I'm including the code for each procedure in this posting - hence the apology for the long post! :-)
    Also, since these procedures reside on the database you will need to use Forms TEXT_IO built-in package to write your file to the server before you can use these procedures to store and retrieve the file from the database.
    These procedures reads and writes a binary file to a table called "LOB_TABLE." You will need to modify the procedure to write to your table.
    -- Author :  Craig J. Butts (CJB)
    -- Name   :  load_file_to_blob.sql
    --        :  This procedure uses an Oracle Directory called "IN_FILE_LOC".  If you
    --           already have a directory defined in the database or would prefer to use
    --           a different Directory name, make sure you modify line 21 to reflect the
    --           new Directory name.
    -- ==================================================================================
    -- History
    -- DATE        WHO         DESCRIPTION
    -- 12/11/07    CJB         Created.
    CREATE OR REPLACE PROCEDURE load_file_to_blob (p_filename IN VARCHAR2) IS
       out_blob    BLOB;
       in_file     BFILE;
       blob_length INTEGER;
       vErrMsg     VARCHAR2(2000);
    BEGIN
       -- set the in_file
       in_file := BFILENAME('IN_FILE_LOC',p_filename);
       -- Get the size of the file
       dbms_lob.fileopen(in_file, dbms_lob.file_readonly);
       blob_length := dbms_lob.getlength(in_file);
       dbms_lob.fileclose(in_file);
       -- Insert a new Record into the tabel containing the
       -- filename specified in P_FILENAME and a LOB_LOCATOR.
       -- Return the LOB_LOCATOR and assign it to out_blob.
       INSERT INTO lob_table (filename, blobdata)
          VALUES (p_filename, EMPTY_BLOB())
          RETURNING blobdata INTO out_blob;
       -- Load the file into the database as a blob.
       dbms_lob.open(in_file, dbms_lob.lob_readonly);
       dbms_lob.open(out_blob, dbms_lob.lob_readwrite);
       dbms_lob.loadfromfile(out_blob, in_file, blob_length);
       -- Close handles to blob and file
       dbms_lob.close(out_blob);
       dbms_lob.close(in_file);
       commit;
       -- Confirm insert by querying the database
       -- for Lob Length information and output results
       blob_length := 0;
       BEGIN
          SELECT dbms_lob.getlength(blobdata) into blob_length
            FROM lob_table
           WHERE filename = p_filename;
       EXCEPTION WHEN OTHERS THEN
          vErrMsg := 'No data Found';
       END;
       vErrMsg := 'Successfully inserted BLOB '''||p_filename||''' of size '||blob_length||' bytes.';
       dbms_output.put_line(vErrMsg);
    END;
    -- Author   :  Craig J. Butts (CJB)
    -- Name     :  write_blob_to_file.sql
    -- Descrip  :  This procedure takes a BLOB object from a database table and writes it
    --             to the file system
    -- ==================================================================================
    -- History
    -- DATE        WHO         DESCRIPTION
    -- 12/11/07    CJB         Created.
    CREATE OR REPLACE PROCEDURE write_blob_to_file ( p_filename IN VARCHAR2 ) IS
       v_blob      BLOB;
       blob_length INTEGER;
       out_file    UTL_FILE.FILE_TYPE;
       v_buffer    RAW(32767);
       chunk_size  BINARY_INTEGER := 32767;
       blob_position INTEGER := 1;
       vErrMsg     VARCHAR2(2000);
    BEGIN
       -- Retrieve the BLOB for reading
       BEGIN
          SELECT blobdata
            INTO v_blob
            FROM lob_table
           WHERE filename = p_filename;
       EXCEPTION WHEN OTHERS THEN
          vErrMsg := 'No data found';
       END;
       -- Retrieve the SIZE of the BLOB
       blob_length := DBMS_LOB.GETLENGTH(v_blob);
       -- Open a handle to the location where you are going to write the blob
       -- Note:  The 'WB' parameter means "Write in Byte Mode" and is only
       --          available in the UTL_FILE pkg with Oracle 10g or later.
       --        USE 'W' instead for pre Oracle 10q databases.
       out_file := UTL_FILE.FOPEN('OUT_FILE_LOC',p_filename, 'wb', chunk_size);
       -- Write the BLOB to the file in chunks
       WHILE blob_position <= blob_length LOOP
          IF ( ( blob_position + chunk_size - 1 ) > blob_length ) THEN
             chunk_size := blob_length - blob_position + 1;
          END IF;
          dbms_lob.read(v_blob, chunk_size, blob_position, v_buffer );
          UTL_FILE.put_raw ( out_file, v_buffer, TRUE);
          blob_position := blob_position + chunk_size;     
       END LOOP;  
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • How to save plant and lgort in BAPI_MATERIAL_SAVEDATA

    Hello all,
    I am trying to save de PLANT AND LGORT with the BAPI_MATERIAL_SAVEDATA, but no save it, i save all the material informations but the PLANT AND LGORT not appears in the table MARD,
    this is the way how i fill the bapi for this sections.
      wa_storagelocationdata-plant     = wa_itab-werks.  "Value of Plant
      wa_storagelocationdata-stge_loc  = wa_itab-lgort. "value of LGORT
      wa_storagelocationdatax-plant     = wa_itab-werks.
      wa_storagelocationdatax-stge_loc  = wa_itab-lgort.
    in other structures with end with X, the field is mark with X but in this case the structures   wa_storagelocationdatax the fields PLANT AND STGE_LOC both are a CHAR 4 not a CHAR 1,
    Somebody knows how to save this informations please..
    Thanks a lot
    Moderator message: please don't use all caps in the subject line, corrected.
    Edited by: Thomas Zloch on Mar 7, 2010 9:29 PM

    Hi,
    which views do you select in the structure HEADDATA? Do you select STORAGE_VIEW?
    Cheers

  • How to save HR data in Active Directory using ABAP i.e thru LDAP Connector

    Hi All,
           Can any one please help me out how
           to save HR data in Active directory
           using LDAP Connector ?             
           Please help ASAP as it is very urgent .
    Thanks
    Jitendra

    There are 100 of such scripts are there online.
    here are few tips and codes. you will get more.  
    https://gallery.technet.microsoft.com/scriptcenter/Feeding-data-to-Active-0227d15c
    http://blogs.technet.com/b/heyscriptingguy/archive/2012/10/31/use-powershell-to-modify-existing-user-accounts-in-active-directory.aspx
    http://powershell.org/wp/forums/topic/ad-import-csv-update-attributes-script/
    Please mark this as answer if it helps

  • How to save status bar background color in local settings(Windows Phone 8.1)

    I have given the user the freedom to change background colour and save it in local settings. But I am confused on how to save the status bar colour settings because I want to give the user the freedom to choose from 4-5 colours where background of status bar
    can be changed.
    public static void SaveStatusBarColor()
    // get status bar color
    var statusBar = StatusBar.GetForCurrentView();
    var color = statusBar.BackgroundColor;
    // convert color to hex string
    var hexCode = color.HasValue ? color.Value.ToString() : "";
    // store color in local settings
    ApplicationData.Current.LocalSettings.Values["StatusBarColor"] = hexCode;
    public static void LoadStatusBarColor()
    // get color hex string from local settings
    var hexCode = ApplicationData.Current.LocalSettings.Values["StatusBarColor"] as string;
    if (string.IsNullOrEmpty(hexCode))
    return;
    // convert hexcode to color
    var color = new Color();
    color.A = byte.Parse(hexCode.Substring(1, 2), NumberStyles.AllowHexSpecifier);
    color.R = byte.Parse(hexCode.Substring(3, 2), NumberStyles.AllowHexSpecifier);
    color.G = byte.Parse(hexCode.Substring(5, 2), NumberStyles.AllowHexSpecifier);
    color.B = byte.Parse(hexCode.Substring(7, 2), NumberStyles.AllowHexSpecifier);
    // set the status bar color
    var statusBar = StatusBar.GetForCurrentView(); // Exception Line
    statusBar.BackgroundColor = color;
    }This is what was suggested to me. Initially the app runs and saves the settings.But when the app is closed and restarted again it crashes.

    Hi shriyansh,
    Where did you call the method SaveStatusBarColor() and LoadStatusBarColor()?
    I have called your SaveStatusBarColor() in the OnNavigatedFrom method and called the LoadStatusBarColor() in the OnNavigatedTo method, it worked very well in my side.
    So I can not reproduce your issue.
    Here are my code and result, please try to check it:
    public class test
    public Color colors { get; set; }
    public sealed partial class MainPage : Page
    List<test> testdemo = new List<test>();
    public MainPage()
    this.InitializeComponent();
    testdemo.Add(new test() { colors = Colors.Red });
    testdemo.Add(new test() { colors = Colors.Green});
    testdemo.Add(new test() { colors = Colors.Gray});
    testdemo.Add(new test() { colors = Colors.Blue });
    this.NavigationCacheMode = NavigationCacheMode.Required;
    public static void SaveStatusBarColor()
    // get status bar color
    var statusBar = StatusBar.GetForCurrentView();
    var color = statusBar.BackgroundColor;
    // convert color to hex string
    var hexCode = color.HasValue ? color.Value.ToString() : "";
    // store color in local settings
    ApplicationData.Current.LocalSettings.Values["StatusBarColor"] = hexCode;
    public static void LoadStatusBarColor()
    //get color hex string from local settings
    var hexCode = ApplicationData.Current.LocalSettings.Values["StatusBarColor"] as string;
    if (string.IsNullOrEmpty(hexCode))
    return;
    // convert hexcode to color
    var color = new Color();
    color.A = byte.Parse(hexCode.Substring(1, 2), NumberStyles.AllowHexSpecifier);
    color.R = byte.Parse(hexCode.Substring(3, 2), NumberStyles.AllowHexSpecifier);
    color.G = byte.Parse(hexCode.Substring(5, 2), NumberStyles.AllowHexSpecifier);
    color.B = byte.Parse(hexCode.Substring(7, 2), NumberStyles.AllowHexSpecifier);
    var statusBar = StatusBar.GetForCurrentView();
    statusBar.BackgroundColor = color;
    statusBar.BackgroundOpacity = 1;
    protected override void OnNavigatedTo(NavigationEventArgs e)
    LoadStatusBarColor();
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    SaveStatusBarColor();
    private void ChangeColorButton_Click(object sender, RoutedEventArgs e)
    var statusBar = StatusBar.GetForCurrentView();
    statusBar.BackgroundColor = testdemo[Convert.ToInt32(Mytextbox.Text)].colors;
    statusBar.BackgroundOpacity = 1;
    The result:
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Error opening images in CS4

    Hello, i've installed Adobe Photoshop CS4 on my computer with other apps, such as Adobe Bridge CS4, Adobe Extension Manager CS4 and others. It runs normally, but when i would open an image file (any type) or PSD it freezes for a few seconds and then

  • How to remove duplicate attach movies on stage?

    Hi, I am currently making a starting game and is still learning actionscript. So far what I did was I have a different set of buttons For button01 - I added this script to it on (release) {           i = i + 1;           _root.attachMovie("flipitem01

  • Irratic magic mouse behavior: Left handed user

    Hello, I have a magic mouse that I use on the left-hand side of my MacBook Pro and experience irratic mouse behavior and unexpected jumpiness - i.e. while working on a PowerPoint presentation, the screen jump to a different slide even when I'm not to

  • "Conversion to String failed"  When attempting to call rs.getString()

    Hello All, I'm getting a "Conversion to String failed" exception being thrown from oracle jdbc when I attempting to call the rs.getString(1) method on a column type of DATE. During investigations we've found the following: 1. The query is fine, and i

  • Is it possible to load ipad with photos and songs before giving to someone as a gift? What account and pass to use?

    I am planning to buy an Ipad for a special girl's birthday. I want to make a surprise and load it with her pictures and some songs I will choose. Question is: Is that doable? Will I need to create an username and password on iTunes? When she get the