How to handle the more than once from the same jsp files

Hi,
i have a one jsp file with three buttons.each one having for different functionalities. like one for cancel, second for edit the values and third for save the values in databse. so i want to handle all these 3 buttons. how can test that which button is coming for action..
Is there any validation necessary for buttons....
give me the suggestion to do this.......
help meeeeeeee
thanks
123

Hint: Its something you need to handle using javascript by setting the hidden variables during submit.
I would expect you to think on this and reply the simple solution.

Similar Messages

  • HOW TO IMPORT DATA MORE THAN ONCE FROM THE SAME EXPORT DUMP FILE?

    before asking my question i'd like to mention that i'm a french spoke...
    so my english is a little bit bad. sorry for that.
    my problem is : IMPORT
    how to import data a SECOND TIME from an export dump file within oracle?
    My Export dump file was made successfully (Full Export) and then i
    tried to import datas for the first time.
    I got this following message in my logfile: I ADDED SOME COMMENTS
    Warning: the objects were exported by L1, not by you
    . importing SYSTEM's objects into SYSTEM
    REM ************** CREATING TABLESPACES *****
    REM *********************************************
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "USER_DATA" DATAFILE 'E:\ORANT\DATABASE\USR1ORCL.ORA' SI"
    "ZE 3145728 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAX"
    "EXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "ROLLBACK_DATA" DATAFILE 'E:\ORANT\DATABASE\RBS1ORCL.ORA"
    "' SIZE 10485760 DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS "
    "1 MAXEXTENTS 121 PCTINCREASE 50) ONLINE PERMANENT"
    etc........
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "L1" DATAFILE 'E:\ORADATA\L1.DBF' SIZE 1048576000 "
    "DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 121 PCTIN"
    "CREASE 50) ONLINE PERMANENT"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file 'E:\ORADATA\L1.DBF'
    ORA-09200: sfccf: error creating file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified
    --->etc..........
    the drive E: with the folder E:\ORADATA didn't exist, but after
    all that i created it.
    see below, before my IMPORT statement
    REM ********************* CREATING USER *********
    REM ********************************************
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE USER "L1" IDENTIFIED BY VALUES 'A6E0DAA6865E7627' DEFAULT TABLESPACE"
    " "L1" TEMPORARY TABLESPACE "TEMPORARY_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'L1' does not exist
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE USER "MLCO" IDENTIFIED BY VALUES '56AC6447B7D50467' DEFAULT TABLESPA"
    "CE "MLCO" TEMPORARY TABLESPACE "TEMPORARY_DATA""
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'MLCO' does not exist
    ETC.......
    REM ********************* GRANTING ROLES ***********
    REM ************************************************
    IMP-00017: following statement failed with ORACLE error 1917:
    "GRANT ALTER ANY TABLE to "L1" "
    IMP-00003: ORACLE error 1917 encountered
    ORA-01917: user or role 'L1' does not exist
    ETC.........
    IMP-00017: following statement failed with ORACLE error 1918:
    "ALTER USER "L1" DEFAULT ROLE ALL"
    IMP-00003: ORACLE error 1918 encountered
    ORA-01918: user 'L1' does not exist
    -- that is normal, since the creation of the
    tablespace failed !!
    REM******************************
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLLBACK SEGMENT RB_TEMP STORAGE (INITIAL 10240 NEXT 10240 MINEXTENT"
    "S 2 MAXEXTENTS 121) TABLESPACE "SYSTEM""
    IMP-00015: following statement failed because
    . importing SCOTT's objects into SCOTT
    IMP-00015: following statement failed because the object already exists:
    "CREATE SEQUENCE "EVT_PROFILE_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999"
    "999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE"
    ETC............
    importing L1's objects into L1
    IMP-00017: following statement failed with ORACLE error 1435:
    "ALTER SCHEMA = "L1""
    IMP-00003: ORACLE error 1435 encountered
    ORA-01435: user does not exist
    REM *************** IMPORTING TABLES *******************
    REM ****************************************************
    . importing SYSTEM's objects into SYSTEM
    . . importing table "AN1999_BDAT" 243 rows imported
    . . importing table "BOPD" 112 rows imported
    . . importing table "BOINFO_AP" 49
    ETC................
    . . importing table "BO_WHF" 2 rows imported
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLE "DEF$_CALL" ("DEFERRED_TRAN_DB" VARCHAR2(128),
    IMP-00015: following statement failed because the object already exists:
    "CREATE SYNONYM "DBA_ROLES" FOR "SYS"."DBA_ROLES""
    IMP-00015: following statement failed because the object already exists:
    "CREATE SYNONYM "DBA_ERRORS" FOR "SYS"."DBA_ERRORS""
    IMP-00008: unrecognized statement in the export file:
    . importing L1's objects into L1
    IMP-00017: following statement failed with ORACLE error 1435:
    "ALTER SCHEMA = "L1""
    IMP-00008: unrecognized statement in the export file:
    J
    Import terminated successfully with warnings.
    -------------------------------------b]
    So after analysing this log file, i created
    the appropriate drives and folders... as the
    import statement doesn't see them.
    E:\ORADATA G:\ORDATA etc...
    And i started to [b]IMPORT ONE MORE TIME. with:
    $ IMP73 sys/pssw Full=Y FILE=c:\temp\FOLD_1\data_1.dmp BUFFER=64000
    COMMIT=Y INDEXFILE=c:\temp\FOLD_1\BOO_idx.sql
    LOG=c:\temp\FOLD_1\BOO_log.LOG DESTROY=Y IGNORE=Y;
    after that i could not see the users nor the
    tables created.
    and the following message appeared in the log file:
    Warning: the objects were exported by L1, not by you
    . . skipping table "AN1999_BDAT"
    . . skipping table "ANPK"
    . . skipping table "BOAP"
    . . skipping table "BOO_D"
    ETC.....skipping all the tables
    . . skipping table "THIN_PER0"
    . . skipping table "UPDATE_TEMP"
    Import terminated successfully without warnings.
    and only 2 new tablespaces (originally 3) were
    created without any data in ( i check that in
    the Oracle Storage manager : the tablespaces exit
    with 0.002 used space; originally 60 M for each !!)
    so,
    How to import data (with full import option) succefully
    MORE THAN ONE TIME from an exported dump file ?
    Even if we have to overwrite tablespaces , tables and users.
    thank you very much

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
    The main URL is:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • Importing an email more than once from notes into the webclient...Possible?

    Hi!
    Is it possible to import an email more than once from a lotus notes account into my webclient?
    I don't have a working sample so:
    Is there a lock to prevent it... in notes... in my webclient?
    Are there optical signs in my webclient that an email is already imported?
    Thanks in advance for your hints in this case.
    Cheers, Ingo

    The Member Feedback forum is for suggestions and feedback for OTN Developer Services. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered. We recommend that you post this thread to the appropriate Database forum.
    The main URL is:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • Error: An attribute cannot appear more than once in the same start tag

    Hi Everyone,
    when i run the page sometimes it works fine but sometimes it throws Compilation Error as below.
    "Error(502,1224): file:/C:/Jdeveloper/jdevhome/jdev/myhtml/OA_HTML/fwk/t/Session_2055663493/region1.uix<Line 502, Column 1224>: XML-20124: (Fatal Error) An attribute cannot appear more than once in the same start tag."
    And i delete the particular file from the path and run the page so this time it works fine.
    But later after sometime i get the same error but the session number will be changed, then again i need to delete it and run.
    What can be the permanent solution for this issue?
    Plz let me know any suggetions.
    Thanks.

    Seems like the mdl file is corrupted or was not generated correctly.
    Can you try to create the mdl file again and then try the import ?
    If it doesn't work then try contacting Oracle Support.

  • Facebook is showing more than once in the HUB !

    Dear All,
    I noticed that my Facebook is showing more than once in the HUB ! and everything instance of it is displaying something different than the other. Old instances are displaying old notifications that I have deleted a long time ago!
    Each time a login and logout of the Facebook app, a new instance is created inside the HUB ! it seems that there is a serious bug in either the HUB or Facebook !!
    How can I fix this ?
    Yasser Youssef
    Solved!
    Go to Solution.

    found the solution here:
    http://forums.crackberry.com/blackberry-z10-f254/two-facebook-accounts-showing-hub-834878/
    thanks FB developers !!! 
    Yasser Youssef

  • CRS Install hostname being used by more than once for the same node.

    Hi, we're installing The Oracle Clusterware and on the Cluster Configuration screen of the universal Installer (the one were you specify the clustername and clusternodes) we get the following error message in a dialog box when the next button is clicked:
    "You must enter unique values for the public node name, the private node name and the virtual hostname for all nodes in the cluster. The name, node1, that you entered is being used by more than once for the same node."
    Has anyone experienced this error message before and know what the cause is?
    Could it be a problem with the /etc/hosts file?
    Thanks in advance,
    M

    Make sure you allocate separate IP addresses on your network for the VIP addresses on each RAC node (this is not the same as the machine IP already configured on the OS).
    Also, the installer may complain if your private and public IPs are configured under the same subnet.
    Finally, as mentioned before, check that name resolution for all the IPs to be used. On all RAC nodes, your /etc/hosts file should be configured with:
    - public name and IP addresses of ALL nodes
    - private name and IP addresses of ALL nodes
    - VIP name and IP addresses of ALL nodes
    Hope that helps
    B.

  • Why does 1 cd appear more than once on the ipod

    Hi
    I have a Classic ipod and use Windows 7; I have a couple of items which are appearing more than once on the ipod but only once on the laptop

    Hi rhduff,
    Welcome to the Support Communities!
    The following article will help you with this.
    Follow the instructions to manually sync your iPad, and remove any songs that you don't want.
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12113?viewlocale=en_US
    I hope this information helps ....
    Have a great day!
    - Judy

  • HT1933 what if I bought the same game more than once from i tunes by mistake how can i claim a refund?

    what if I bought the same game more than once, How can I claim a refund from I tunes store?

    You can try contacting iTunes Support and see if they will refund or credit you : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to use a picture more than once in the light table?

    when i drag a picture from my browser to the light table i get the number 1 in the thumbnail. the book suggests that we can drag more than once the same picture in the light table but i have not yet figured out how to do it? any ideas?

    Indeed it do, I have that book, and you and I have both proven, beyond any doubt, the authors are incorrect.
    I tried all weekend to build a light table display that would print on half of a piece of paper. I figured I'd just select all, duplicate or copy and paste and set up another display just like it. That way, I'd print one sheet, trim it in half and have two nice assemblies of the same images. Took me many hours of dicking around to arrive at my lame non-solution.
    Hope someone else gives us both better advice.
    bogiesan

  • How to transfer video more than 1gb from ipad to pc

    How to transfer video more than 1 gb from ipad to pc,tried all things but it shows 0 bytes

    Have you tried something like dropbox? Upload it there, download it to your PC?

  • Not to upload the same file more than once from legacy thru BAPI

    i have a BAPI program for uploading datas to ME21N transaction code.the values are getting stored in structure table only
    to upload the values under one header, i have declared one constant serial number, in which that is the main identification to upload the various line items in one header.
    if i uploaded the data once again , the data must not be uploaded, even if a different user tries to upload. The serial number will be same for all the items and also the supplying plant also will be same for all line items.how will i identify or store the serial number and plant , in such a way that the same plant for this combination must not be uploaded again. i have created a ztable and stored the serial num and plant.if this two fields are getting repeated for the same plant then the action must not occur else if for a diff plant the bapi program has to create a PO.
    can anybody give me a solution for this. how to make this simpler and identify the already uploaded data.

    hi
    when u r about to upload query ur main table ekko or ekpo if the entries already exist.
    if yes then issue an error message.
    Regards
    Sajid

  • How do you fill out a form more than once from a single computer?

    URGENT QUESTION...
    I am using a FormsCentral form as a Job Interview form.  The interviewer needs to clear the form after each submission to fill the form out again for the next person interviewed.
    She tells me that she can't see how to clear the form to fill it out for the next interview, and I don't have the answer.  Would appreciate receiving that answer real fast, and the next interview will be at 11am EST today.
    Thanks.

    Randy,
    Answering your question about how I created the initial PDF form...
    I created it with the Employment Application template in FormsCentral, adding many additional questions to the template.  When I finished doing that, my recollection is that I clicked on “Save as PDF Form.”  And that worked fine. 
    The PDF form was then accessed by the interviewer without any problem.  She dutifully filled out the blanks, clicked on the SUBMIT button, and the first report then showed up as expected in FormsCentral under “My Forms.”
    We don’t particularly want to have this form online, although we can put it online if necessary.  Since there is only one interviewer who will be filling out this PDF form during the interview of each job applicant, our only issue is how to most easily clear the form after each interview is posted, without losing the SUBMIT button.
    Thanks,
    JS

  • How do I save the same bookmark in the same folder more than once using the bookmark all tabs feature in FireFox 21?

    I was able to do this previously. Recently however, firefox has only been allowing me to save one of the same webpage per bookmark folder. odd request I am aware, however, it is necessary to my usage of the program to make long lists of associated items.

    That is not possible.<br />
    When you sue Bookmark all tabs then duplicate tab won't get stored separately, but only one occurrence of a specific URL, so you would need to distinguish them e.g. by adding an anchor (#&lt;random_nr&gt;).
    You would need to save a list of currently open tabs to achieve this.
    Extracting the links from a sessionstore.js file might be the easiest way to achieve this.
    See this MozillaZine forum thread:
    * http://forums.mozillazine.org/viewtopic.php?f=38&t=622036

  • How to disable submit more than once?

    Hi,
    I have a form with a huge number of fields and validations on their validate event.
    The form has a submit button with the following routine:
    myDoc.submitForm(
         cURL: URL,
         cSubmitAs: "PDF"
    My goal is that the user will be able to submit the form only once.
    If I hide the submit button after this script there is a chance that one of the fields not pass the validation, the button disappear and user is not able to submit any more.
    Otherwise nothing avoid from the user to submit the form multiple times.
    Anyone has an idea?

    here you can use
    if()
    else if()
    else if()
    else
      write code that you want to execute in last.
    Untill top conditions are not satisfied, code below that condition will not be executed. So no need to disable submit button because when user will click on submit button it will check all the condition from top.
    Thanks

  • Is it problematic to use Microphone.getEnhancedMicrophone() more than once on the same device?

    Here's an interesting little experiment:
         Alert.show((Microphone.getEnhancedMicrophone() == Microphone.getEnhancedMicrophone()).toString());
         Alert.show((Microphone.getMicrophone() == Microphone.getMicrophone()).toString());
    They both show "false", even though the calls to getMicrophone() and getEnhancedMicrophone() always point to the same device.
    I'm making an R&D app right now, and this is a potential problem for me.  I've designed the app around it being able to refresh the list of available mics, and for the user to be able to go back and forth between different mics and be able to hear themselves, among other things.
    If they turn on loop back for a mic, then re-select the same mic, it'll create a different object for that same exact device, and after turning off loop back for the previous instance (and removing all references to that instance), it'll turn on loop back for the new instance.  The problem?  It's hard to tell for sure, but there appears to possibly be some sort of issue with the Flash Player taking a minute to garbage collect the old instance, and during that time, the Flash Player trying to read audio out of that device and loop it back twice, as opposed to once.
    It's hard to tell whether this is really happening, or whether the distortion I'm hearing is purely two-second transition from one instance to the other, but there are also questions in my mind about the viability of just trying to track each individual device in a Dictionary; if multiple devices have the same name and keep getting pulled out of one port and plugged into another, there seem to be problems in being able to keep track of indivdual devices very well in that case.
    So is this a really big issue for an app that's designed to let people keep switching mics back and forth, as well as letting them refresh the list of available mics over and over?  Or as long as setLoopBack(false); and setSilenceLevel(100); are called on every instance before its references are removed, will there not be any sort of disturbance in future instances' audio (or any other issue, aside from late GC)?  Thanks!

    You're creating a reference. The constructor that runs factorizes some other classes into your object such as flash.media.SoundTransform. Due to instantiating a "new" SoundTransform, it differs from the other mic references SoundTransform. Thus the object is not identical. The debug panel shows you easier:
    If you really just want to see if it's attached to the same device, simply compare the index value.
    if (mic1.index == mic2.index) {
         // same audio recording device

Maybe you are looking for

  • Questions on Corporate Directory in Convergence

    1. I want to have ability to create multiple corporate directories. I had that ability in UWC, but its not working in IWC. do I have to do anything special. Example, I have a directory for students and another for staff. I want to list them as two se

  • Dsc opc shared variables yields Server Failure

    I've been struggling with the transition from DSC 7.1 to 8+ ever since the release of version 8. I use the Allen Bradley OPC server supplied with the DSC module (Industrial Automation OPC Servers v 5.1) to communicate with a PLC 5/30 via Ethernet, or

  • Vendor posting with discount base larger than open items amount

    Hello, I'm trying to do the following post: Vendor (Debit) 500 u20AC Cost Account (Debit): 1250 u20AC Bank Account  (Credit) : 2000 u20AC VAT (Debit) 250 u20AC And I got the following warning message: "Items rel. to cash disc. Total 750 larger than o

  • Date field positions vertically and overlaps other report items

    I have a date field on my reports and they are positioned on the right of the report canvas where they have enough cusion space. Somehow they[label and the date itself] are coming appearing on multiple lines..one below the other instead of appearing

  • SAML assertion Identity provider - SSO for ALL users

    Hi , If we have  a  Corp AD configured on Windows 7/ Windows 8 but  SAP-EP-UME is hooked up to the Corp AD ( read only ). Can we consider the  Active directory system(Windows ) to be the  IDENTITY PROVIDER and configure the SAP-EP ( portal to be the