Multiple time submission of a form automatically in struts

I have a button in jsp, when the onclick event is fired, it will send the request to someaction.do to generate a report and display that report in a new window.
After clicking the button to generate the report, in the business class a sql query is getting executed.
If the query result has less data, then I don't have any problem, I could view my report page.
If the query result has more data, then the query takes at least 5-6mins to complete. However, before the query completes its execution, the same request is automatically invoked again. Due to this the report is not getting generated because [...of the multiple requests?], the browser shows an Internet Explorer error and ends up at a blank page.
No exception is thrown and the only place I could find the place of query execution it stops and starts as a new request from web.xml with Servlet Filters, Action.
Note: For a single .do request, the request is getting repeated for 3 times. Overlapping of request also takes place.

981117 wrote:
I have a button in jsp, when the onclick event is fired, it will send the request to someaction.do to generate a report and display that report in a new window.
After clicking the button to generate the report, in the business class a sql query is getting executed.
If the query result has less data, then I don't have any problem, I could view my report page.
If the query result has more data, then the query takes at least 5-6mins to complete. However, before the query completes its execution, the same request is automatically invoked again. Due to this the report is not getting generated because [...of the multiple requests?], the browser shows an Internet Explorer error and ends up at a blank page.
No exception is thrown and the only place I could find the place of query execution it stops and starts as a new request from web.xml with Servlet Filters, Action.
Note: For a single .do request, the request is getting repeated for 3 times. Overlapping of request also takes place.
Moderator Action.
Post locked.
You duplicated this other post, word-for-word, typing error per typing error, spelling mistake per spelling mistake:
Duplicate submission of request is being invoked automatically - Struts
If you are someone new, then I suggest you simply monitor that other discussion.
Do NOT post into that thread. It belongs to another forum user.
Observe it and if solutions are given, then use them for your own benefit.

Similar Messages

  • User signs up multiple times

    I have a simple email sign up form.  How do I create a page that says the user has already signed up so if they sign up again by accident, they don't recieve duplicate emails. I've read somewhere where they are not suppose to get the same email again, but that does not seem to be the case. I've signed up multiple times with the same form, and I still get the email.  However, in the DRM, it's still only 1 user which is good.  Any ideas?

    Hi Gregory,
    There's no way to perform that kind of server side check and return an error message.
    Cheers,
    -mario

  • Is it possible to automate the running of a java program multiple times?

    For example, i have a java program which constantly writes the word "hello world" to a text file and ends the program.
    Instead of compiling & running this multiple times is there a way to automate it and it will run it many times as you want?

    Theresonly1 wrote:
    For example, i have a java program which constantly writes the word "hello world" to a text file and ends the program.
    Instead of compiling & running this multiple times is there a way to automate it and it will run it many times as you want?What do you mean by "constantly" and "many times as you want"? Do you mean literally constantly -- as soon as it runs, it runs immediately again?
    Or do you mean something like running it once every half hour indefinitely?
    What i was looking for is something along the lines of a script file or Ant. Like an automation tool. How is this not answering your own question? You can use a script, or Ant.

  • Dps file automatically opening multiple times when working on another file in the same folio?

    dps file automatically opening multiple times when working on another file in the same folio? Can anybody please help

    Can you try resetting your preferences first and see if that helps - see Troubleshooting 101: Replace, or "trash" your InDesign preferences

  • Calling same form multiple times

    Hi, i need to call a single form with different table names as parameters depending on conditions.
    for eg here is the approach
    if flag1_is_set
      call form1 multiple times with table1, table2....... as parameters
    "and i can avoid this
    "  form 1 using table 1
    "  form 1 using table 2
    "  form 1 using table 3
    "  form 1 using table 4
    "  form 1 using table 5
    elseif
      flag2_is_set
        form 1 using table 2
    elseif
      flag3_is_set
       form 1 using table 3.
    but i cannot call forms like this. can someone suggest
    an equivalent implementation on how to do this.
    if i dont implement in the above mentioned approach i have to code the same thing with minor changes multiple times
    thanks.
    your help would be appreciated.
    kranthi.

    You might try passing a field symbol (itab) in the tables.
    And assign the filed symbol with your itab as per the condition.
    Check if the program below gives you any idea.
    REPORT  Z_RAM_DYN_TAB_IN_FORM.
    PARAMETERS : P_TAB1 TYPE C.
    DATA: lt_users2 type standard table of usr02.
    DATA: lt_users1 type standard table of usr01.
    FIELD-SYMBOLS: <fs_itab> type standard table.
    SELECT * into table lt_users1 FROM usr01.
    SELECT * into table lt_users2 FROM usr02.
    IF P_TAB1 eq 'X'.
       ASSIGN lt_users1 to <fs_itab>.
    ELSE.
       ASSIGN lt_users2 to <fs_itab>.
    ENDIF.
    PERFORM test_form TABLES <fs_itab>.
    FORM test_form TABLES x_itab .
    FIELD-SYMBOLS: <fs_wa> type any.
    FIELD-SYMBOLS: <fs_field> type any.
      LOOP AT x_itab ASSIGNING <fs_wa>.
        DO 5 times.     "Write first 5 fields of itabs.
          ASSIGN COMPONENT sy-index OF STRUCTURE <fs_wa> to <fs_field>.
          WRITE :  <fs_field>.
        ENDDO.
        WRITE :/.
      ENDLOOP.
    Thanks,
    Ram
    Message was edited by: Ram Manohar Tiwari

  • How to stop someone from filling out pdf form multiple times?

    My customers order my service by down loading a .pdf form. They then fill out the form and submit the form to my email. How do I stop a customer from submitting the form multiple times. I would like for the customer to submit the form only once filled out. If I need more info I could follow up to their order manually via email. Thanks for your help!

    One of the main reasons why you have a customer posting multiple submits would be because for some reason he/she doesn't know the first one was successful.
    Add a property your form to record whether or not a valid submit has already happened. Use script to set that property on submit. Check each time the submit operation is fired to see if the property is set. If it is display an error dialog and stop the submit from occurring.
    If someone wants to open multiple copies of your form and fill it out and send it to you, well there's nothing you can do about that.

  • How to control the opening form multiple times

    Greetings to all,
    I used Open_Form to open the form in my 'Menu.mmb'.
    My Question is:
    How we control the opening of a form from multiple times?
    Ex:
    In my menu.mmb I used OPEN_FORM.If we open the form,which was already opened ,I want to stop the form to open. How to do this?
    Thanks,
    Bhujendra

    pls try with
    FIND_FORM('EMPDETAILS1');
    OPEN_FORM('C:\INH\EMPDETAILS1');
    jeneesh                                                                                                                                                                                           

  • ADOBE FORM-static-called multiple times - data on different pages

    Hi Experts,
    I am calling an adobe form multiple times for each employee inside a loop.
    The layout is less than half the page.
    For each employee inside the loop when calling the ADOBE form it is triggering a new page.
    I want to continue the printing in the same page.
    Is this possible? Please advice.

    That is bc ADF life cicle... Is always executing 2 times...

  • How to automate saving the same image multiple times?

    Hello. I wish to save the same image multiple times in a folder... is there a way to automate this function? I also need the flexibility of determining the starting number in this image sequence. Thanks.

    Good day!
    I would recommend asking for help over at
    Photoshop Scripting
    And going into more detail about what you want to achieve (maybe post a screenshot, diagram, mock-up to illustrate it).
    Regards,
    Pfaffenbichler

  • Printing form multiple times

    Hi Experts,
    how to print the form multiple times? . i have multiple shipto entries....for every new shipto entry form should be printed..can you please provide me with sample code..

    Hi,
    I cannot see if you are using sapscript or smartforms. I expect sapscript.
    You need an ABAP change. The program must as first determine the SHIP TO Addresses.
    Then a loop over these adresses and making the several forms (also using open and close form).
    If you use a smartform you have still a loop over the adresses. But  know you have also to change the smartform. You must give the addressnumber as parameter to the smartform. And the smartform must print that adressnumber,'
    If you need more info. Let me know
    Gr., Frank

  • Avoid opening same Form Multiple times

    hi
    Can anyone help me , how to put restruction not to open the same form multiple times .
    regds/sanjay

    I'm not suggesting that the following is great idea but..
    You could start a timer and keep updating the row in the table with a timestamp and then have a job which checks if there are rows in the table that have timestamps older than the timer interval.
    I actually think that that is really bad idea.
    I think its more important to ask why this is a requirement? I currently write sytems for police officers and even they can grasp the concept that someone else might be updating the same data at the same time as them and can work multiple sessions. Its hard for them, and sometimes I think they may just be hitting their keyboards with a truncheon, but they do get it.

  • How to stop someone from submitting a form multiple times?

    My customers order my service by down loading a .pdf form. They then fill out the form and submit the form by my email as a pdf form. How do I stop a customer from submitting the form multiple times. I would like for the customer to submit the form only once filled out. If I need more info I could follow up to their order manually via email. Thanks for your help!
    Sorry if a newbie question,
    Looking for a way to disable the form after the form is filled out then submitted through their email

    One of the main reasons why you have a customer posting multiple submits would be because for some reason he/she doesn't know the first one was successful.
    Add a property your form to record whether or not a valid submit has already happened. Use script to set that property on submit. Check each time the submit operation is fired to see if the property is set. If it is display an error dialog and stop the submit from occurring.
    If someone wants to open multiple copies of your form and fill it out and send it to you, well there's nothing you can do about that.

  • Same form submitted multiple times?

    Hi there!
         I have been working with Acrobat 9 for the first time, took a look through help and some google searches but im not finding anything related to my concerns. There are only 2 recipients of the form however they both need to fill this form out daily or multiple times daily. When I am testing this I save the original and fill the form out, then save the modified as a different name and submit. When I submit again with different data the email sends fine however when openening the "response" email it sais there is already a response and doesnt add to the tracker.
    Is there a work around or is this a limitation?

    Those look to be threads. Try going to Setup -> Display options and selecting Hide userland threads. If those extra processes disappear, they were threads.

  • Form disappears when clicking search help multiple times

    Hi All,
    I have created an interactive adobe form with Web dynpro application.
    We have multiple multiple search helps (custom and standard) on the form.
    when the user clicks on any search helps multiple times (4-5 times), the whole form disappears.
    Please provide some solution / hints.
    Best regards,
    Meep.

    We are not facing this problem on Adobe 9.4. The newest v10.1 has this problem.
    Also, this issue is only on 1 server and on other, it works fine.
    We are using Native control with ZCI layout.

  • My iTunes has stopped working out of nowhere. When iTunes is opened it displays "iTunes has stopped working" and windoes automatically closes it saying it will look for a soluton. What do I do? I have un-installed it and re-installed multiple times.

    My itunes has stopped working out of nowhere. When I open iTunes a message appears stating "iTunes has stopped working." and windows closes iTunes sayng it will look for a solution. I have Windows 8.1 64-Bit and have been using iTunes 11.1 (or the newest one out there). I have un-installed and re-installed multiple times. The same message continues to pop up.

    Hi biazonmg,
    Thanks for using Apple Support Communities.  If iTunes is unexpectedly quitting when you open it, this article has steps to isolate and troubleshoot that:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Cheers,
    - Ari

Maybe you are looking for

  • HP LASERJET PRO CM 1415 FNW COLOR MFP

    i just got a macbook air and i have a the above laser jet pro and i can print fine i did not have to do anything with the disk it wirelessly hooked me up--but for scanning the mac said i needed the software so i tried to install it from the mac dis t

  • Is there a Report to Identify Relationships Between Projects

    Hi, We currently have a problem where people have been copying and pasting activities from other older projects into our current project. In doing this they have also copied over the logic. So the pasted activites are still linked to the older projec

  • How to Prind Barcode font In the PDF output

    Hi Guru I have designed the RTF file in word In which one of the field is barcode field , I have loaded the XML Data to the RTF when I submit the concurrent program and view tha output as PDF file the barcode field is give me data like this 12132145

  • Remove Black from Image

    There is a strong possibility that I'm forgetting something.  I want remove the black from this image, persicely.  I gave channels a try, selection as well with a tolerance of 12 - 22 the results were not what I want.

  • Excise for capital items

    Hi Experts,                We have captured excise for some materials as capital items. Afterwards we got that they are not capital items. Is it possible to change the previous entries? Thank you sap mm