How to handle form with more than one page in struts

Hai,
i have more than one page in my struts web apps. each page has a form & i have submit button @ last page. I navigate between these pages using titles. data has to exist when i come back from another page(i.e i am in page1 i have some fields called name & address as textfield, i move to page2 & then i go back to page1 @ that time i should have the name & addess values that i entered previous in the corresponding textfield) & finally when i submit need to get values form all these pages.
Plz tell me how to do this.

Hi prasadmca ,
1.Try to store those value in session variable
2. or else store those value in DB

Similar Messages

  • Forms with more than one page

    I have a form page that I am creating, an application which
    consists of seven pages. Normally I would link my continue button
    to page number two, etc. to connect the pages. Page 1 has a form
    and I want to be able to press the submit button at the end of page
    seven and have all the information within the form pages (1-7) to
    be submitted to my email simultaneously. Is that possible to link
    the form pages? Thank you. If not does anyone know of a good form
    program?

    Hi
    Catch the values of page one on page two in the form scope
    and you could
    then set them as a session variable value, repeat this
    process for each
    page and on the final page you submit your page and use the
    session
    variable values to do with whatever you need them to do.
    Cheers jojo
    Adobe Community Expert for Dreamweaver 8
    http://www.webade.co.uk
    http://www.ukcsstraining.co.uk/
    Extending Knowledge, Daily.
    http://www.communityMX.com/
    Free 10 day trial
    http://www.communitymx.com/joincmx.cfm

  • How to handle bdc for more than one transaction?

    how to handle bdc for more than one transaction?

    Hi srk,
    I am providing you with some references below. Hope this prove to be helpful to you.
    Method 1:
    Use one BDC_OPEN_GROUP
    Multiple BDC_INSERT 
    One BDC_CLOSE_GROUP.
    Call function BDC_OPENGROUP.
    Build BDC data and call lBDC_INSERT for transaction 1
    Build BDC data and call lBDC_INSERT for transaction 2
    Build BDC data and call lBDC_INSERT for transaction 3
    paas the tcodes to bdc_insert.
    call function BDC_CLOSE_GROUP.
    Also check this out:
    Here we need to record 2 transactions (shdb).
    Once completion of the recording. Populate the data into input internal table .
    Loop the internal table and process the 2 transactions
    like
    1. BDC_OPEN_GROUP
    2. LOOP AT ITAB
    a. Populate first transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    b. Populate second transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    ENDLOOP.
    3. BDC_CLOSE_GROUP
    the above info can be found at : How to use 2 transactions in BDC?
    Also check this out:
    Suppose u have created recordings for transactions 'MM01' 'XK01' and 'VA01'.
    Then do this:
    bdc_open_group.
    after this we have to fill the bdcdata structure for one transaction.here 'MM01'.
    bdc_insert.
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'xk01'.
    bdc_insert .
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'va01'.
    bdc_insert.
    bdc_close_group.
    Hope these are useful to you.
    Please reward if any of the above are useful.
    Regards,
    Kalyan

  • How to use beans in more than one page

    hello members,
    can somebody tell me how to make beans availabe to more than one page ,i used scope variable as "application"
    in which i set the value of java bean and in that page it show all values of that bean even it modified
    but when redirect to another jsp page it does not show modifided value,it shows its default value
    what shld i use tell me
    following thing that i use in forwarded jsp page
    <jsp:useBean="same id in previous jsp page", class="same class", scope="application"/>
    and then i am using boolean variable which set false default ,but i set it manually though
    setfuction (assume) in original jsp page,but in redirected page it showing it value fasle
    i don't know why
    can somebody (Bean Bond) help me in this problem
    i will very thankfull to you
    plz..................

    My dear friend,
    your scope is wrong. Since you run a JSP page and you want it available everywhere, the only thing that all pages have common is session. So changing your bean scope to session will keep the bean variables and the rest you have on it.
    Try it and let me know.

  • How to use iTunes with more than one Ipod

    I would like to know whether is possible to use iTunes with more that one ipod, because I need to have 2 differents libraries, one for my 30GB ipod and my son's ipod nano.
    Thanks, Felipe

    Try this http://docs.info.apple.com/article.html?artnum=300432

  • How to Print Html Document (more than one page)

    I've a problem with printing my html page. I can print one page of html file, But my document is longer than one page. and i can't print it.
    who know how to print . Please Reply

    A recent article in JavaPro has a nice solution for this problem. Check out
    http://www.fawcette.com/javapro/2002_12/online/print_kgauthier_12_10_02/
    It describes a way of using Views to break down the pages.

  • Spool print with more than one page doesn't work

    Hi Experts,
    I need some help.
    I have following code in my report:
    SORT ta_ausgabe BY vstel vkorg_auft fkdat.
      NEW-PAGE PRINT ON .
       LOOP AT ta_ausgabe INTO wa_ausgabe.
         READ TABLE ts_vstel
           INTO wa_vstel
           WITH TABLE KEY spras = sy-langu
                          vstel = wa_ausgabe-vstel.
         READ TABLE ta_vkorg
           INTO wa_vkorg
           WITH KEY vkorg = wa_ausgabe-vkorg_auft.
         WRITE:  wa_ausgabe-vstel.
         WRITE:  wa_ausgabe-vkorg_auft.
         WRITE:  wa_ausgabe-fkdat.
         WRITE:  wa_ausgabe-matnr NO-ZERO LEFT-JUSTIFIED,
           AT 30 wa_ausgabe-maktx NO-ZERO LEFT-JUSTIFIED,
           AT 70 wa_ausgabe-fkimg NO-ZERO LEFT-JUSTIFIED, 
           AT 79 wa_ausgabe-vrkme NO-ZERO LEFT-JUSTIFIED.
         NEW-LINE.
       ENDLOOP.
       NEW-PAGE PRINT OFF.
       COMMIT WORK.
       v_spool_attach = sy-spono.
    As you see the information of the table TA_AUSGABE will be just prined into spool. When I have only information for one page everything
    work fine, but as soon there more information to be printed I cannt open my pdf file with the spool info anymore.
    What could be a reason?
    Please urgent
    BR
    Denis

    Hi Denis,
    The code works for me for printing more than 1 page.
    Pls try giving the spool id manually  in report RSTXPDFT4 and see whether it gets Multi pages in pdf and let me know if you have any issues.
    Rgds,
    K.S.

  • Handling WebService with more than one operation

    Hi Everybody,
    I have a hassle!
    First of All, I'm Newbie, using Oracle Service Bus
    I have to Implement a WS with aproximately 6 operations, in Service Bus.
    I create my WSD and my XSD Artifacts, with no problem, the issue comes when I try to create My Proxy Service in OSB
    Step 1 .- Create Proxy Service
    Step 2 .- I make a Link from my Proxy Service to my Business Service wich contains the WSDL with the 6 operations
    Step 3 .- I clic on edit the message flow in the actions panel to add route
    Step 4 .- I edit the route looking for a Webservice and selecting the method (In this Case I select one method, because I don't know how to route many operations in one Proxy Service)
    When I did that, my WS in OSB wasn't able to invoke one method. I got a timeout .. I don't know, if maybe I'm doing something wrong!!.
    What I want is a way to route many methods in a same Web Service
    I've done operational bifurcation in the Web Proxy.. With that component, I can choose methods like conditionals, and I can add a route destination for each method.. when I test it .. My OSB WS never reply me an asnwer, I got Timeout. Takes a lot of time
    I also tried to do it with IF ELSE conditionals trying to know the name of the method from the WLS Headers and routing them to a specific webservice method. But I couldn't do it!
    I check the WS out by itself and works in 2 seconds, so it's Working!
    Any clues?, Well I hope you can help me!!
    Thanks in Advance!
    Edited by: user11334562 on 05-ago-2011 17:38

    Pierluigi,
    Thanks for your answer,
    I had to rebuild my OSB project, and refact all my OSB artifacts,
    My Proxy Service, I was trying to do it with my WSDL again, when I already had done in a Business Service,
    So in my proxy I chose the BS instead WSDL and all Works Perfectly using SOAP Content.
    Pretty Thanks!!
    ABC

  • How does syncing apps with more than one iPhones work?

    Me and my girlfriend both has a iPhone. I was wondering do I have to purchase the app twice for both iPhones?are apps tied with my computer, the phone or my iTunes account? Assuming I purchase it from my mac there's no way to say which iPhone it is for so I assume I can use of on both phone? But what of I bought it from the phone?

    Yes you can do this. It works just like music, you do not have to purchase an app twice if, for example, you purchase an app and then would like to also put it onto your husband or wife's iPhone. You can authorize up to five computers to "hold onto" the app and allow it to be synchronized down to the iPhone. I did this with two computers, mine and my wife's, synching to two iPhones, mine and hers. There's probably a limit of 5 iPhones too, but I don't know for sure.
    You can simply email an app, or put it onto a CD or external storage device to move it to another computer, and then authorize it on the additional computer.
    Here's what you need to know:
    Go to iTunes on a computer that has the app. Top left, Library menu, click on Applications to display the applications which are on this computer. You'll get a big screen that says IPhone and IPod Touch Apps, and icons for each. Right click (Control-click if you have to) to get the contextual menu, and select "Show in Finder." All of your apps should be residing in the resulting folder. Grab one or more of them and email or copy to a CD or external drive (or transfer by network) to get the app onto the additional computer. On my computer this is the "Mobile Applications" folder in my iTunes Library; this appears to be the default location. Of course you need to put the app into the correct default folder on the new computer.
    Once the app(s) is on the new computer, it may not show up in iTunes (look in the same place; in other words, open iTunes, go to "Library --> Applications" top left). If it's not showing up in iTunes, then simply go back to the folder (the actual app in the finder) and right-click and select Open With --> iTunes. That'll force it to show up. Your goal is for the app to show up in iTunes on the "new" (additional) computer. Once it shows up, you are almost there, although it is not yet authorized, so if you go ahead and sync with your iPhone on this additional computer the transfer will fail.
    To authorize it, simply double click on the app IN iTUNES, right there in the Library -->Applications view. A window will pop up and say you are not authorized to play this (just like it does when you try to play a song you originally purchased on a different computer). The user name that is displayed will be the user name of the original purchaser. Enter the password of the original purchaser. You are good to go. If you added multiple apps, they will all become authorized on this additional computer with this single authorization action, you do not have to repeat the authorization for each of them, as long as they all were purchased by the same user.
    Proceed with syncing the additional iPhone using iTunes on the additonal computer. You are done. Enjoy!
    This will work with no regard to AT+T accounts, it's not related to them at all. You can have five authorized computers, including the one which originally purchased the song or app. You can send an app to a friend who lives in a faraway place and allow him to authorize his computer to play your apps and songs. Note that he will be able to play all of your apps and songs forever until you deauthorize his computer. This does not mean he will have access to your account in any way; simply that he will have general authorization for any songs or apps you send him; he won't need to re-authorize any new things you send him. In order to allow you to maintain control (change your mind) there is an option in the iTunes Store (Account button) which allows you to deauthorize ALL computers on your account, if you wish to reauthorize individual computers again.
    The apps and songs are simply password protected. If you send one to someone they won't be able to use it unless they know your password, and you can allow this up to five times (for five computers).

  • How to get albums with more than one artist to show as one album?

    All of my iTunes purchased classical music CDs appear as 4 sometimes more albums on imatch. How do I get them to show as a single album?

    Hi,
    I use the composer in Album Artist fields.
    Jim

  • Transaction with more than one page

    I need to make a couple of forms in order to do a subscription. I would like to have a transaction opened in the first form and just in the last one I would commit this transaction. During the time of the subscription some forms will be submited but just in the end it should me commited. How can I do this? Anybody can help me?
    Thanks!

    Hi!
    (9.0.3.3./UIX)
    What happens, when i have an ID, which set by database trigger. It doesn't get value, until i press commit.
    If i don't use commit after insertrow,
    in java... VO.getRowByKey() doesn't find the row...
    And.. as i know there is a bug... if a try to modify a row, that hasn't been commited, it throws an exception.
    And THA MAIN PROBLEM!
    If i have two primary key on viewObejct..
    and i add 2 rows with the same shortname,witch is a part of the primary key...
    i won't get error message, until i do commit!
    That's our biggest problem, right now..
    thanks,
    Viktor

  • How do I go back more than one page at a time?

    Surfing sites like eBay, I often traverse through several pages of a search. When I'm done. I'd like to be able to "Go Back" to the page where I started. It may be several pages back and using the "Go Back" button is cumbersome when I need to go back multiple pages. I hate to say it, but IE has an arrow key next to the "Go Back" and "Go Forward" buttons that provides a drop down list of the last X number of pages visited. This feature allows me to "Go Back" to the page I want with one click. I really want to migrate to Firefox, but this issue is a real pain for me when browsing. Is there a feature in Firefox that will allow me to do this easily?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • Printing PDFs with more than one page size

    A large client sent me a PDF of mostly usLetter-sized pages, but with some in-line 11 x 17" pages he intended to Z-fold. I was able to vary the size of the bounding box within the Windows drivers by selecting "Choose Paper Source by PDF page size". That way I would eliminate the vast white spaces created by putting letter-sized images within an 11 x 17" bounding box, or alternatively, shrinking or masking 11 x 17" images to fit a letter-sized bounding box. With the advanced settings of our printer's drivers, I was able to program the two paper sizes into the print job.
    I can't seem to find a control like "Choose Paper Source by PDF page size" in my Mac OS X v. 10.4 (or 10.5) drivers. Are they absent or am I?

    Mike, it's a production run with lots of copies and lots of pages per copy, so it'd be too labor intensive to be cost effective if there's a high-tech way of doing it.
    That way is to put it on a Windows workstation to gain access to the "Choose Paper Source by PDF page size" control that the MS drivers offer. This sets the bounding box rather than the paper as the interface mistakenly indicates.
    Then use the PCL drivers because of the way Microsoft's PS drivers position the images.
    Make sure to set your letter-sized body pages to 2-sided and, if you can, your Ledger-sized pages to 2-sided, flip on short edge.
    Again, it's a shame that the Adobe/Apple interface doesn't offer the same ability that the Adobe/MS interface offers.

  • Web pages with Tiff with more than one page! Can only see first page!

    Hi
    Please help me out. This is kind of a big issue for me.
    For work I need to visit regularly a webpage which contains a number of official documents that have been saved on the webpage as Tiff files with multiple pages.
    I can only view the first page on the ipad!
    I think this is a problem linked to quicktime, as I also have it on my pc I open the documents with quicktime whereas on with Windows Life photo Gallery, I see all the pages...
    thanks in advance

    I don't believe there is a single app that can view any but the first page of a multi-page tiff currently available for the iPhone or iPad, though a few paid iPhone "doc-viewer" apps' descriptions would seem to imply that they could.
    However, if you are able to upload these files to google docs, then use the **desktop** version of google docs via Safari (there's a small link to this at the bottom of the page on the default mobile version), it will correctly display and navigate to each page of your multi-page tiffs. This is completely free, and you could probably stream-line the process to your needs, but it does seem like a lot to go through for such a simple feature. It's possible that this would work with equivalents to google docs as well.
    You're right that you're not alone in needing this feature. It seems like it should be quite easy to implement, but no app appears to have done it. Maybe requests to the writers of several doc-viewing apps would do the trick, especially given the importance to enterprise.

  • Sites with windows with more than one page open on top of each other

    Sometimes when I go to a new site, pages load on top of each other.

    Well, I don't know if this image is going to upload, but I did a screenshot so you can see what I mean. It happens on other websites, too. Remember transparencies, the clear plastic letter-size sheets you could write on? It's like stacking 2-3 sheets on top of each other, with each sheet saying something different. It looks like a jumbled mess. And it's not pop-ups.

Maybe you are looking for

  • My old Galaxy SII is outperforming my new iPod Touch 5!?!

    I just got a new iPod Touch 5 Space Gray. I'm testing it against my old Samsung Galaxy SII. My old G SII is outperforming my new iPod 5 in a few areas and it's making me very disappointed. My iPod 5 freezes on online video while my G SII doesn't. My

  • IMac won't start. I get a black screen, not even a grey one or beachball

    I Have a 21'' iMac bought in 2012 OS recently upgraded to Mavericks. A Few days ago I received a system upgrade notice (can't remember the details) which I promptly installed as I always do. Since then the Mac has been switching itself off randomly,

  • Problem with Dell 2208WFP

    This is doing my head in.Just got the above monitor which is replacing my old VGA Viewsonic but it just keeps on going to powersave mode.However if I disconnect the VGA cable from the Viewsonic and put it in the Dell it works!.I've tried VGA and DVI

  • Hardware requirement for Oracle Universal Content Management

    Hi Experts, What are the Hardware requirements for Oracle Universal Content Management ? Regards Nasir

  • ###### sign in smartforms PO Output

    Hi, When i am printing the PO form the item description field is printing "#" symbole by replaceing the SPACE while it's printing. There is a similar issue in below link but there is no answer on this. Re: ###### sign in smartforms output Experts if