Best way to edit/update data in JSP ?

Hi Friends,
I want to know about Update / Edit data procedure in JSP.
ie.
If we have one form having 10 fields, and we need to change only
1 field then do we require to set update query for all 10 fields ?
don't it make some overload ?
Can you give me solution like that ?
and I want to update data like we use CakePHP scaffold functionality.
data from database is displayed in field and we just need to edit data
and save it.
Can we have such in JSP ? see I don't know struts or any frameworks
Better you will suggest way to do in JSP.
for Insert I use Bean [ one java class get the parameters for all fields and query ]
Please suggest me to set the value to field on edit / update
and best way to update the data.
-GkR

It's easy if you want upade game files, not game engine binary.
You can make your app that will load swf file. So you can make engine that will load all files externaly from device. Firstly you run app and if it connected by wifi - ask user for upadate wish and that simply download from http files as binary and save they using FileSystem

Similar Messages

  • What is the best way to edit meta data..

    What is the best way to edit meta data and tag photos, faces, places etc. and have the data saved to the original photo.
    On a PC I would just use Windows Gallery. iPhoto on the Mac allows for some tagging, but it doesn't save to the original file.
    I like to have my photos in a folder, edit them and save the changes.
    What software would work best on a MAC to accomplish this?
    Thanks for any help,
    Nick

    iPhoto is a database and any metadata you add or edit is available in any app - if you learn how to use it.
    iPhoto is a non-destructive processor. It never touches the original file - it treats it like a film shooter treats the negative.
    If you want a copy of the original file with the metadata included simply export a copy.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    As an FYI:
    For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491

  • Best way to remotely update data in iPhone game?

    I'm thinking of developing an iPhone game, and one of the things I definately want to be able to do is update values in the game remotely from a server, without having to re-submit the IPA file to apple, so I was wondering what would be the best approach to do that? I'm developing in Flash CS5.5.

    It's easy if you want upade game files, not game engine binary.
    You can make your app that will load swf file. So you can make engine that will load all files externaly from device. Firstly you run app and if it connected by wifi - ask user for upadate wish and that simply download from http files as binary and save they using FileSystem

  • Best Way to port the data from one DB to another DB using Biztalk

    Hi,
    please suggest best way to move the data from one db to another DB using biztalk.
    Currently I am doing like that, for each transaction(getting from different source tables) through receive port, and do some mapping (some custom logic for data mapping), then insert to target normalized tables(multiple tables) and back to update the status
    of transaction in source table in sourceDB. It is processing one by one.
    How/best we we can do it using  bulk transfer and update the status. Since it has more than 10000 transaction per call.
    Thanks,
    Vinoth

    Hi Vinoth,
    For SQL Bulk inserts you can always use SQL Bulk Load
    adapter.
    http://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalksyn/archive/2005/10/23/processing-a-large-flat-file-message-with-biztalk-and-the-sqlbulkinsert-adapter.aspx
    However, even though a SQL Bulk Load adapter can efficiently insert a large amount of data into SQL you are still stuck with the issues of transmitting the
    MessageBox database and the memory issues of dealing with really large messages.
    I would personally suggest you to use SSIS, as you have mentioned that records have to be processed in specific time of day as opposed to when the
    records are available.
    Please refer to this link to get more information about SSIS: http://msdn.microsoft.com/en-us/library/ms141026.aspx
    If you have any more questions related to SSIS, please ask it in
    SSIS 
    forum and you will get specific support.
    Rachit

  • Best way to "page" through data?

    If I have a XM, something like
    <people>
    <person>
    <firstname>john</firstname>
    <lastname>smith</lastname>
    </person>
    <person>
    <firstname>robert</firstname>
    <lastname>walker</lastname>
    </person>
    </people>
    And I create some bound fields to display this, what's the best way to "page" the data?
    I know I can create an XML variable of the data and then access person[0].firstname, but I need to have a button or other ui element that would choose person 0,1,2,3 etc.
    Normally I's use a list, but this application calls for a static screen where only the data changes when buttons are chosen.

    I use this method(this is simplified) as it doesn't require any sort of data services, you can have change events etc for editing/deleteing. the slider is just for poc, a prev/next button could just as easily do.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="800" minHeight="400" creationComplete="initApp()" width="800" height="400">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable] private var Arr:ArrayCollection=new ArrayCollection();
    private var Sel:int = 0;
    protected function initApp(): void
    Arr.addItem({id:1,name:"John",surname:"Robertson",age:30});
    Arr.addItem({id:2,name:"Peter",surname:"Williams",age:35});
    Arr.addItem({id:3,name:"Jane",surname:"Brown",age:23});
    Arr.addItem({id:4,name:"Rebecca",surname:"Smith",age:42});
    Arr.addItem({id:5,name:"Susan",surname:"Reynolds",age:25});
    Arr.addItem({id:6,name:"Michael",surname:"Royce",age:23});
    Arr.addItem({id:7,name:"Jack",surname:"Jones",age:22});
    Arr.addItem({id:8,name:"Pete",surname:"Young",age:50});
    Arr.addItem({id:9,name:"Robert",surname:"Peters",age:39});
    hs.maximum = Arr.length-1;
    hs.value = 0;
    updateList();
    protected function updateList():void
    Sel = hs.value;
    surname.text= Arr[Sel].surname;
    firstname.text= Arr[Sel].name;
    age.text= Arr[Sel].age;
    ]]>
    </fx:Script>
    <s:Group width="497" height="114" horizontalCenter="0" verticalCenter="0">
    <s:TextInput id="surname" x="46" y="45"/>
    <s:TextInput id="firstname" x="182" y="45"/>
    <s:TextInput id="age" x="318" y="45"/>
    <s:HSlider id="hs" x="62" y="96" width="200" minimum="0" maximum="1" liveDragging="true" change="updateList()" value="-1"/>
      </s:Group>
    </s:Application>
    David

  • Best way to extract XML data to DB

    Hello,
    In our work we need to extract data from XML documents into a database. Here are some extra notes:
    + There is no constant schema for the XML documents.
    + Some processing on the XML files is required.
    + The XML documents are very big.
    + The database is Oracle 8i or 9i (Enterprise Edition both) and our framework is NET.
    Our questions are:
    1. What is the best way to extract the data into the database under the above circumstances ?
    2. In case there was a constant schema for the XML documents, would there be a better way ?
    3. Is writing the data to text files first, and then loading it via SQL-Loader is an effective way ?
    Any thoughts would be welcome. Thanks.

    Hi Nicolas,
    The answer depends on your actual storage method (binary, OR, CLOB?), and db version.
    You can try XMLTable, it might be better in this case :
    SELECT x.elem1, x.elem2, ... , x.elem20
    FROM your_table t
       , XMLTable(
          '/an/xpath/to/extract'
          passing t.myxmltype
          columns elem1  varchar2(30) path 'elem1'
                , elem2  varchar2(30) path 'elem2'
                , elem20 varchar2(30) path 'elem20'
         ) x
    ;

  • What is the best way to move all data and apps from an old ipad to a newq ipad air?

    What is the best way to convert (update) from an original ipad to a new ipad air?

    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Moving Content to a New iPad
    http://tinyurl.com/qzk2a26
    Transferring your prepaid cellular data account depends on your carrier. AT&T lets you move it yourself when you go to Cellular Data in Settings and log into your account with your previous AT&T user name and password. For iPads with Sprint service, you can set up an account on the new iPad and contact Sprint Customer Care (888-211-4727 and go through the menus) to deactivate the old plan and get credit for unused service. For Verizon, call the company’s customer service number for mobile broadband support (800-786-8419) and ask to have your account transferred.
     Cheers, Tom

  • Traveling with MacBook Pro, Mac at home. Best way to edit photos now but save later?

    Hello. I'm traveling with my MacBook Pro w/Mavericks for a few weeks. I have a new Mac (Mavericks) at home. All of my current photos are stored in iPhoto on my Mac at home. Both computers have iPhoto.
    What is the best way to edit my photos (taken with an iPhone 5s) now while traveling but in a way that I can still import them into iPhoto on my Mac when I return home? I don't want photos split between the two iPhoto libraries. If I import them into iPhoto now, on my MacBook Pro, and then edit them, is there a way to send them over to my iPhoto on the Mac when I return home?
    If I import them into iPhoto (Macbook Pro) and edit them now, then when I get home export them as Current from iPhoto on the Macbook Pro and then import them into iPhoto on the Mac, will there be any data loss?
    Is there another solution?

    The solution is to use iPhoto Library Manager to move the shots and all the versions and metadata from one library to another.
    This is the only way to move everything between Libraries.
    If you export, you lose either your original or your version. Unless you export with care you can lose metadata too. If you are going to export, don't use 'Current' as you can get higher quality with other settings.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • What is the best way to mimic the data from production to other server?

    Hi,
    here we user streams and advanced replication to send the data for 90% of tables from production to another production database server. if one goes down can use another one. is there any other best option rather using the streams and replication? we are having lot of problems with streams these days they keep break and get calls.
    I heard about data guard but dont know what is use of it? please advice the best way to replicate the data.
    Thanks a lot.....

    RAC, Data Guard. The first one is active-active, that is, you have two or more nodes accessing the same database on shared storage and you get both HA and load balancing. The second is active-passive (unless you're on 11.2 with Active Standby or Snapshot Standby), that is one database is primary and the other is standby, which you normally cannot query or modify, but to which you can quickly switch in case primary fails. There's also Logical Standby - it's based on Streams and generally looks like what you seem to be using now (sort of.) But it definitely has issues. You can also take a look at GoldenGate or SharePlex.

  • What is the best way to export the data out of BW into a flat file on the S

    Hi All,
    We are BW 7.01 (EHP 1, Service Pack Level 7).
    As part of our BW project scope for our current release, we will be developing certain reports in BW, and for certain reports, the existing legacy reporting system based out of MS Access and the old version of Business Objects Release 2 would be used, with the needed data supplied from the BW system.
    What is the best way to export the data out of BW into a flat file on the Server on regular intervals using a process chain?
    Thanks in advance,
    - Shashi

    Hello Shashi,
    some comments:
    1) An "open hub license" is required for all processes that extract data from BW to a non-SAP system (including APD). Please check with your SAP Account Executive for details.
    2) The limitation of 16 key fields is only valid when using open hub for extracting to a DB table. There's no such limitation when writing files.
    3) Open hub is the recommended solution since it's the easiest to implement, no programming is required, and you don't have to worry much about scaling with higher data volumes (APD and CRM BAPI are quite different in all of these aspects).
    For completeness, here's the most recent documentation which also lists other options:
    http://help.sap.com/saphelp_nw73/helpdata/en/0a/0212b4335542a5ae2ecf9a51fbfc96/frameset.htm
    Regards,
    Marc
    SAP Customer Solution Adoption (CSA)

  • I am giving away a computer, what is the best way to wipe out data prior to depature

    i am giving away a computer, what is the best way to wipe out data prior to depature

    Did the Mac come with two grey disks when new? If so, use disk one to erase the drive using Disk Utility and then re-install the OS from the same disk. Once installed, quit and when the new owner boots they can set it up as a new out-of-the-box Mac when they boot it up. The grey disks need to be passed on with the computer.
    If you need detailed instructions on how to erase and re-install please post back.
    If the Mac came with Lion or Mountain Lion installed the above process can be done using the Recovery HD as since Lion no restore disks are supplied with the Mac.
    The terms of the licence state that a Mac should be sold/passed on with the OS installed that was on the machine when new (or words to that effect).

  • What is the best way to deploy/update custom security realm classes to WLS 6.0?

    From the WLS 6.0 console, I see that I can specify the Java class that
    implements my custom security realm but I am wondering what is the best way
    to deploy/update this code. I don't see a way to do this from the console.
    Does this mean that I have to manually copy the class files over that
    implement my custom security realm?

    Thanks Danut,
    A jar file seems to be a good way to package it up but it sounds like it
    still needs to be manually copied to each Weblogic server install directory
    post-installation and whenever it is updated. I thought it would be nice to
    be able to deploy/update the custom security realm by uploading it through
    the Console just as you can with web applications and EJBs.
    Brian
    "Danut Prisacaru" <[email protected]> wrote in message
    news:3aba2db0$[email protected]..
    You have to have your Custom Realm class in the class path. I usually havea
    jar file with all the Custom Realm classes and that jar I copy it in thelib
    folder. Then I modify "startWebLogic.cmd" and I add to the classpath
    ".\lib\CustomRealm.jar"
    set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\CustomRealm.jar;
    >
    Be aware that in order to have you custom realm besides creating thecustom
    realm using the console you also have to create a custom caching andchoose
    that one as your default caching realm.
    Here is how the security settings are looking in my "config.xml"
    <CustomRealm Name="CustomRealm"
    RealmClassName="Custom.appserver.weblogic.security.CustomRealm"/>
    <CachingRealm BasicRealm="CustomRealm" CacheCaseSensitive="true"
    Name="CustomCachingRealm"/>
    <Realm CachingRealm="CustomCachingRealm" FileRealm="wl_default_file_realm"
    Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <Security GuestDisabled="false"
    Name="mydomain" PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm"/>
    Danut

  • Best way to accept a date from a user

    Hi Guys,
    Whats the best way to get a date from a user and add it in an
    insert record to access.
    I have a form that adds a record and it works well enough as
    long as the data added is in the correct format.
    Untill now ive just had a text box with an explination to the
    user on how to add the date and what format....
    But Im fed up with having to change bad entrys and need to
    place a control or something on the form but dont know whats
    easiest and best?
    Any ideas welcome.
    Thanks

    If you want today's date set the database up to insert the
    date
    automatically. If you want other dates than today's use a
    date picker or
    calendar to insert the date.
    Dave
    "Tag2007" <[email protected]> wrote in
    message
    news:epj87p$mar$[email protected]..
    > Hi Guys,
    >
    > Whats the best way to get a date from a user and add it
    in an insert
    record to
    > access.
    >
    > I have a form that adds a record and it works well
    enough as long as the
    data
    > added is in the correct format.
    >
    > Untill now ive just had a text box with an explination
    to the user on how
    to
    > add the date and what format....
    >
    > But Im fed up with having to change bad entrys and need
    to place a
    control or
    > something on the form but dont know whats easiest and
    best?
    >
    > Any ideas welcome.
    > Thanks
    >

  • Best way to store historical data

    Hello:
    I'm currently developing an application that monitors some phisycal
    variables such as temperature and differential pressure in different
    locations. I also must do historical datalogging of the values read so
    the user can generate reports of the historical data. What is the best
    way to save the data? I was thinking about using and SQL-based database
    and use a table for each variable, an make some maintenance on the
    database after certain time to avoid it getting too big, but I'm opened
    to any suggestions
    Thanks in advance!
    Robst
    Robst - CLD
    Using LabVIEW since version 7.0

    Hello:
    I've been looking for a way to install just Citadel with no success.
    I've read that it only ships with Lookout and DSC, so I guess it can't
    be installed without one of them. Si, if this is true, Do U know
    another option for doing datalogging?
    Thanks in advance
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

Maybe you are looking for

  • Vendor list with their mail address

    HI experts, I need a report which gives list of vendors in our plant . in that it should give Vendor Name,Vendor Number and Email address. I tried with MKVZ and LFA1..but not able to find..... Please guide me in this. Thanks MK

  • Trailing 0's being stripped

    I have an application that allows folks to enter version numbers and they should be able to enter 1.10 but that 0 is getting stripped. This is a custom tabular application and I am using collections. The database column is a VARCHAR2. How do I preven

  • LG Ally won't allow me to sign onto Facebook

    I just purchased the LG Ally.  I found the app for Facebook preinstalled but when I try to log in it tells me "An error has occurred during the sign in.  Please try again later."  But when I do, I get the same message over and over.  Am I doing somet

  • How do you change the name on an Iphone

    I have an Iphone that I want to change the owner names on it.  I was a hand me down.

  • How to unblock my account, i forgot the security questions

    how to unblock my account, i forgot the security questions