Can one form submit to different servlets? Urgent!!!!

          Hi, all
          Can someone tell me how can I submit one form to two servlets?
          The case is:
          Some of data in one form need to pass to one servlet, and the rest of them need
          to pass to another servlet. E.g. an Order form in some site, the financial info
          will go to some secure SSL credit card payment gateway, the product and delivery
          infor will goto another servlet. How do u handle the case? Does anyone know?
          Thanx in advance
          Divid
          

This sounds like a candidate for a controlling servlet that handles a single
          request, then forwards 'pieces' of each request to different servlets.
          Hope this helps
          Rob
          "JFan" <> wrote in message news:3b789f4c$[email protected]..
          >
          > Hi, all
          >
          > Can someone tell me how can I submit one form to two servlets?
          > The case is:
          > Some of data in one form need to pass to one servlet, and the rest of them
          need
          > to pass to another servlet. E.g. an Order form in some site, the financial
          info
          > will go to some secure SSL credit card payment gateway, the product and
          delivery
          > infor will goto another servlet. How do u handle the case? Does anyone
          know?
          >
          > Thanx in advance
          >
          > Divid
          

Similar Messages

  • Can one itunes support 10 different iphones for backup

    Can one itunes support 10 different iphones for backup on a windows pc.

    If you are going to sync multiple phones to iTunes in the same user account, you want to be careful if you are going to sync contacts with Address Book (Windows Address Book/Contacts folder if you are using Windows) under the "Info" tab in iTunes . What can happen is the syncing process will take the contacts from both phones and then merge them together. This will cause both phones to have all of the contacts from each phone and it can be a hard thing to recover from when it happens. Best advice is to create two seperate user accounts on the computer and sync each phone to its own unique user account. This way you get a seperate Address Book (or Windows Address Book/Contacts folder in Windows) for each phone.
    Hope this helps,
    - Greg

  • Is it better to create ONE form, for 25 different forms?

    We have a Telco Application (in Forms 10g) which has about 200 Forms which are called from the main menu. Out of that 200 forms about *25* are "file upload" type forms (shown below).
    http://www.freeimagehosting.net/alg6q
    As you can see this is small form. The functionality is as follows:
    *(a.)* Select a text file (which has data in tabular format) from the client PC.
    When file is selected, it is also copied to a directory in the DB server machine. File Name will show the full path of the file in the client machine.
    *(b.)* When user presses Load button, form calls a stored packaged procedure. In that we create a EXTERNAL table mapped to the file in the db directory and read the contents to a temporary table in the DB.
    *(c.)* When user presses Process button, the temporary table is read and our Telco tables are updated using this data.
    *(d.)* You can view the error records and correct records discovered while processing, with the View File option. This will display 2 Oracle reports.
    *(e.)* You can delete the temporary table contents using the Delete Temporary option.
    This story goes like this: Our application is in Forms 10g. Now, we want to upgrade this application to 11g Forms. One problem we encountered was the FileUploader bean which we use in the above forms. This does not work in 11g. Solution was found in using WebUtil. Now, we have to modify all 25 Forms (obviously).
    Now here comes the real important part: Our Managers think that in the future also we might have to do upgrade to these 25 forms (due to future problems/upgrades with WebUtil and so on) and they want us to create ONE form for the 25 forms. So, in that ONE form,
    (a.) We have a list box at the top where uses selects which upload function he wants.
    (b.) Then, the file is selected (and transferred to the DB directory).
    (c.) Now when the users presses Load button, we have to execute the load packaged procedure for the selected load file option.
    (d.) When he presses Process button we have to run the program unit for the selected file upload function.
    (e.) When user presses the View File button, he has to show the correct records and invalid records (found after processing) in 2 reports. The reports differ from function to function.
    (f.) He can delete the records in the temporary table using Delete Temp button.
    Is this is good idea?? My initial study tells me that it is not a good idea since we have one form with too much functionality. What are pros and cons of this approach and what is the best solution??
    Edited by: user12240205 on Jun 25, 2012 1:16 AM

    So the forms are completely different, and yet you are asked to stuff them all together into one form? What sense would that make? That's like pulling forms which are using text_io together just because when text_io is changed you simply would need to edit one form. Well of course you would have to. On the other hand there is a pile of code necessary to seperate the parts you glued together in the first place plus the effort of pulling all those forms together plus the effort of adding stuff to one "part" of the form.
    Also think about version control: you'd create more frequent conflicts in putting those forms together when different developers edit different parts of the form. Conflicts causes work as developers are forced to merge more often plus developers can make errors when merging their changes. Also the log of your version control system becomes quite useless as it always will be the xyz form which is changed. If you would want to know what did change you would have to read the log messages carefully of each revission (given the fact that developers wrote them carefully) or do diffs between revisions instead of...looking at what files changed.
    And all that just because the only thing they have in common is that they are using webutil?!? Do your managers keep their Blue Socks and their Blue Cars in the same drawer because they are blue?
    If the issue here is that you need to edit many forms and this might cause errors then you should take a look at the JDAPI, because this would be the tool to do changes in forms in batch. The forms migration assistant can also be configured to change one built-in into another, and you wouldn't have to write one line of java code. But stuffing forms together because they use the same built-ins...I'd say no, but of course this is just my opinioin ;)
    btw.:
    When you say API, u mean a PLL, right???Not only, by API I meant Application programming interface; this might be a package in a library, a whole pll file, a database package, a java class, or a combination of all those.
    cheers

  • How to make submit form submit xml differently

    Hello,
    The acrobat built in submit form button which submits xml expects the receiving server to be able to read the XML unlimited. Unfortunately I can't do this with Lotus Domino server 6.5.
    I am looking for a way to save the XML data to a file and upload it to a website as if the user had saved and uploaded it themselves, but automated using some javascript on a button. Is this possible? Any examples/help/pushes in the right direction greatly appreciated.

    Looks like my problem was just the TARGET=_blank> stuff. I change the code to the following:
    DECLARE
    l_url VARCHAR2(200);
    begin
    l_url:=
    '/portal/page?_pageid=154,107011&_dad=portal&_schema=PORTAL';
    PORTAL.wwa_app_module.set_target(l_url,'CALL');
    exception
    WHEN OTHERS then
    htp.p(SQLERRM);
    end;
    That works fine and instead of putting it in place of the INSERT button code I left that alone and put it in the "After form processing" pl/sql code. Now it works pretty well. The only thing left to fix is that it loses all my current Page Parameter values when forwarding the url like that.
    David

  • How can one add contacts to different email accounts in iOS 8?

    I'd like to know if I could add contacts to different email accounts in iOS 8 without having to change the default Contacts account and only using my iOS device!

    You should be able to -
    If you go into Settings - Mail / Contacts
    You see Groups at the top left corner
    Adding to those groups will keep your contacts separate - although you have to check the group name for the contact to appear in the list

  • Livecycle Designer 8 - Is it possible to have button to clear fields after user has clicked submit by email button so user can reuse form to send another response with different answers?

    Users will use form to fill in stats for enquiries so they want to keep form open, complete a form, click button to submit by email, then click another button to clear form, form now ready to accept form's responses.  They dont' want to keep opening form each time form needs to be completed.
    Hope you help.
    Thanks Sandra

    Hi,
    Thanks for your response, not sure what you mean by a loop.  I put together
    a draft form to show staff in our Knowledge Centre the sort of thing
    Livecycle Designer can do.
    (See attached file: Library  Request  Form_pub_0001.pdf)
    They are currently writing out on form and manually putting into excel to
    keep stats on the requests.
    Due to current Global Financial Crisis my section does not want to spend
    extra money at the moment seeking assistance from our tech heads.  So we
    are looking for least work no expense option for keeping stats.  I am a PA
    who just happens to have Livecycle program on my computer.
    We use Lotus Notes so I thought the staff could save copy of Library
    request form in the stationery folder.  The staff using the form want to be
    able to do the following:
    1. open the Library request form at the beginning of the day;
    2. when a request comes in, complete the form and click on Send by email
    button
    3. click on a Clear Data button to clear all data from all fields so the
    form is open ready for when the next request comes in.
    Staff are time poor and, as this is only one of their numerous duties, they
    don't want to keep going to a location and opening a file which can be very
    slow on some days
    Each day form may be filled out by approximately 15 staff who may receive
    anything from 0 - 4 requests a day.
    I am not a tech head so script writing is a deep, dark mystery.  Can you
    help using the form above as an example for achieving step 3 above.
    Thanks,
    Sandra Smith
    Personal Assistant
    PricewaterhouseCoopers Australia
    Office: ++61 (2) 8266 9069
    Fax: ++61 (2) 8286 9069
    [email protected]
    http://www.pwc.com/au
                                                                                    Kacyndra                                                 
                 <[email protected]                                        
                 >                                                          To
                                           Sandra K Smith/AU/TLS/PwC@AsiaPac
                 08/08/2009 12:25                                           cc
                 AM                                                                               
    Subject
                                           Livecycle 
                 Please respond to         Designer 8 - Is it possible to have
                 clearspace-200985         button to clear fields after user
                 0098-481178-2-216         has clicked submit by email button
                 [email protected].         so user can reuse form to send 
                     adobe.com             another response with different
                                           answers?                                                                               
    if i understand this correctly, you just want everything cleared whena
    buttons is pressed?
    you can either do it individually:
    on button click:
    mytextField.rawData=""
    or do a loop, using child/paretns..

  • How can different people work on different tabs of one form

    Dear OTN Users,
    We are developing Client-Server application using D2K tools.
    We are using the new feature TAB of Forms 5.0 in our current
    development.
    We are currently have 10 or 12 tabs per form in our application
    and we need different people to work on it during development.
    How to over come the error of one's work overwriting other's work.
    All of them will be working on different tabs.
    Thanks in advance for you help
    null

    It's a really bad idea to have more than one person working on a
    single Form at one time. However, if you must...
    Try getting everything in the Form, except for your tabs,
    working first. Then take 12 copies of your Form (one for each
    tab) and give a copy to each of the 12 developers. Make sure
    that they name any objects that they create uniquely: this
    includes any blocks, procedures, tab canvases etc - nominate one
    person as 'design master' and make sure that anyone clears any
    new object names with the design master before creating them.
    When they have finished developing and testing their code
    individual for each of the single tab Forms, get someone to
    create a thirteenth Form, and then merge in all the objects
    created for the first tab. You can do this relatively easily by
    opening two Forms at the same time, and dragging the items from
    one Form to another.
    If you're feeling really clever, and you will have lot of
    maintenance to do on the Form, then you could reference the
    objects rather than copy them: in this case you would need to
    keep your 13 forms in perpetuity, but you could have parallel
    maintenance going on. However you decide to do it, be sure that
    you have a comprehensive test plan!
    You will find that you may save some time in this way, but it
    will take more man-hours (though less elapsed time) to develop
    the Form in this way, than by having a single person develop the
    whole Form.
    Simon Hedges
    Gloucester
    UK
    null

  • Can we have two submit buttons in one form

    please someone help me. my problem is i want two submit button in one form.one to insert data and other to search data .how can i do this.

    hi!
    it is possible but impragmatic to supply a single form with 2 submit buttons.
    albeit, rather that use submit button you may just do the following (alternatively):
    a. put a default action url to your form's action attribute;
    b. replace all your submit button with just button (form element) and put a unique id on each;
    c. then put a function name (javascript) on its onClick attribute;
    d. in your javascript function, you may now reference your button through their id's and using an if-then statement, assign the proper url that will serve as the new action for your form;
    e. on the last line of your function, execute the line formname.submit()doods72
    http://www.ingenium.com.ph

  • One jsp one form tag having 3 different values

    <tr>
    <td width="120%" align="right" bgcolor="#FFFFFF" colspan="4" >
    <input type="submit" value="Submit" name="Submit">
    <input type="submit" value="Delete" name="Delete">
    <input type="submit" value="Approve" name="Approve">
    </td>
    </tr>
    In Jsp have one form having 3 button with 3 different values.
    My problem is on 3 button have 3 different action called.
    i face this problem very curisal.
    So plz give me reply its very urgent
    Thanks in Advance

    Do it with javascript.
    Rather than: <input type="submit" value="Submit" name="Submit"> use a <input type="button" name="submit" value="Submit" onclick="checkClick();" />
    Then your javascript function - "checkClick" and set an indicator as to which button was clicked and then invoke the submit function.

  • How to use one form to submit data to 2 tables on mysql

    Can someone please help me on this,
    I am developing a jsp website and I want to use one form to submit data to 4 tables on mysql database and the tables are related by one foreign key.
    Can someone bail me out of this ....I've hit a hard brick wall!!!!...

    kwesij wrote:
    Can someone please help me on this,
    I am developing a jsp website and I want to use one form to submit data to 4 tables on mysql database and the tables are related by one foreign key.
    Can someone bail me out of this ....I've hit a hard brick wall!!!!...What's the problem? What does a brick wall look like?
    Connect to the database and execute four SQL INSERT/UPDATE statements as a single unit of work. The fact that you have one form shouldn't be an issue.
    I'll bet you're having trouble because you haven't layered the problem either in code or in your mind.
    I'd recommend that you write a POJO to take in some objects and execute the SQL. Once you have that running successfully you can worry about the form. Decouple the two.
    Computer science is all about decomposing large problems into smaller ones.
    %

  • Can we have two DB's connection in one report???------ Very Urgent

    Hi,
    this might be a silly question......
    If my Report is having 3 grids can i connect to 3 different databases one for each???? or there will be only one DB connection for all Grids????
    this is really urgent for me....

    Hi,
    Every grid can have its own different database connection.
    The database connection is set at the grid level. That's why when you import a grid in the report, it opens a selection for connection.
    In your case, bring first grid, select a DB connection. Then repeat for 2nd and 3rd grids.
    Let me know if it helps.
    Cheers
    RS

  • Can any one tell me how can I move to a different folder pictures, that I've cloned, without them staying aggregated? They all come together to the other folder and I don't want that- thanks

    Can any one tell me how can I move to a different folder pictures, that I've cloned, without them staying aggregated? They all come together to the other folder and I don't want that… thanks

    There's more to it than that.
    Folders in Aperture do not hold Images.  They hold Projects and Albums.  You cannot put an Image in a Folder without putting it in a Project or an Album inside that Folder.
    The relationship between Projects and Images is special:  every Image must in a Project, and can be in only one Project.
    Images can be in as many Albums you want.  Putting an Image in an Album does not move it from the Project that holds it.
    You can make as many Versions from a Master as you want.
    What you want to do may appear simple to you, but it still much adhere to how Aperture works.  I still can't tell exactly what you are trying to do (specifically: Images don't live in Folders; moving an Image from a Folder is non-sensical).
    It can be very confusing (and frustrating) to get going with Aperture -- but it does work, and can be enormously helpful.  If you haven't, take a look at the video tutorials on Apple's Aperture support site.
    I feel as though I haven't helped you much -- but we need to be using the same names for interface items in order to get anything done -- and my sense is that you still haven't learned the names of the parts.

  • MULTI ITEM ENTRY AT A TIME IN TABULAR FORM SUBMIT ONE TIME

    MULTI ITEM ENTRY AT A TIME IN TABULAR FORM SUBMIT ONE TIME

    No, it wasn't addressed to you but rather the OP - sorry for the confusion.
    I try where possible to point out that without asking a sensible and clear question, posters are unlikely to get sensible and clear answers. A lot of time is wasted on this forum trying to get people to ask questions properly.
    Cheers
    Ben

  • Can multiple people work on one form

    We do onsite assessments. I am attempting to determine the best method to have all of my assessors' feedback compiled into one form. Any help will be much appreciated!

    The only link I have is to manage your team account http://forums.adobe.com/thread/1460939?tstart=0
    The only Adobe program/process for team work that I know of is Adobe Anywhere, but that requires a very different process
    Adobe Anywhere http://www.adobe.com/products/adobeanywhere.html
    http://www.creativeimpatience.com/adobe-anywhere-enterprise-solution/

  • How can others open more than one form? [Was: Sandra]

    How do you use Forms Central? I am the only account that can open more than one form. I have added all the people in contacts. When they login, they have the upgrade option for more than one form. We have an order number and end user id. Thanks for the help.

    Hi,
    It sounds like you have a paid account and the other users have free accounts.
    You will have to share the form with the other users, please see this link for more detailed on how to share a form with others:
    http://forums.adobe.com/docs/DOC-3351
    All the free account users should be able to open all the forms that you have shared with them. Free users can only create one form on their own.
    Hope this helps,
    Thanks
    Lucia

Maybe you are looking for

  • Error in Simple Adobe Form

    Hi ,   I have gone through this below PDF   https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-   ffd41e8e8d59 It is Simple Adobe Form with two fields(Firstname and Last name ) not table. I am getting UI Inter

  • Printers that work with Airport Express

    I am experiencing problems getting my lexmark p4350 printer to work wirelessly with Airport Express. Can anybody tell me of any printer,multifunction device,laser printer that will work with AEX?

  • Laptop crashed... need help

    My laptop has shut down and now says no bootable device--insert boot disk ??? I dont care about the computer as I can get another but I have alot of work files on here. Any Ideas how to get it to come back?  I can get to a start up menu and I have tr

  • How to sort master-node in master-detail scenario without losing subnodes?

    Hi, I've a master-detail scenario and want to sort my master node. How can I sort the master node without losing the detail-subnodes? If I take a look in class CL_WDR_TABLE_METHOD_HNDL and method  IF_WD_TABLE_METHOD_HNDL~APPLY_SORTING Sorting is done

  • System software v 2.0.2 and third party applications

    Finally! got my third party apps working on my ipod touch! I think the temporary solution lies in syncing your apps with iTunes. Thanks to one of the techies (Dwayne, thanks Dwayne!) I downloaded a free 3rd party app through iTunes then synced the ap