How to carry an object from one JSP to another JSP?

How can I carry an object from one JSP to another JSP?
I have a servlet where I am setting an object in request as an attribute and then forwarding to PageA.jsp.
MyDTO myDTO = new MyDTO();
request.setAttribute("MyDTO", myDTO);
RequestDispatcher rd = getServletContext().getRequestDispatcher("/PageA.jsp");
rd.forward(request, response);
I can get MyDTO object in PageA.jsp:
MyDTO myDTO = (MyDTO) request.getAttribute("MyDTO");
Now PageA.jsp has a form named form_pageA which submits to PageB.jsp. How can I make sure that myDTO object is available in PageB.jsp? I would like to not store it in session.
Edited by: srhcan on May 4, 2012 7:52 PM

srhcan wrote:
but its not a text I want to store; instead its a JavaBean object. Thats why I cannot use a hidden text type input field.No, but perhaps you could stick something in there which you can use to reconstruct your DTO object on the next request?

Similar Messages

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • How to transport CU02 objects from one system to another?

    Hi,
    How to transport CU02 objects from one system (Development) to another (Quality)?

    You need to set up the object dependency IDOC in the partner profile.Message type is KNOMAS. The transaction to send is CLD2.

  • How to send an object from one application to another?

    Hi all,
    I have two applications over the same server. The first application needs to send an object to the other application.
    I try to put the object as a session attribute, but in the moment that the second application tries to get the attribute, the attribute doesn't exist.
    Does anybody now how can pass an object from the one application to the other?

    You can also use JMS

  • I need step by step instructions on how to move an object from one photo to another photo - in Photoshop CC 2014.

    How do you move an object in one photo to another photo in Photoshop CC 2014

    In the document with the object select the object  and use copy (Crtl|CMD+C) then in the other image document use  paste (Crtl|CMD+V).
    However its not a move its a copy the object is still in the original image.  (Crtl|CMD+X) instead of (Crtl|CMD+C) would cut the object out of the first image but leave a hole there that you would need to fill with a replacement to complete a move.

  • Hi,how can i transport objects from one server to other like (Dev To Qty)

    Hi Sir/madam,
       Can u explain how can i transport objects from one server to other like (Development To Quality To Production).
    Regards,
    Vishali.

    Hi Vishali,
    Step 1: Collect all Transports(with Packages) in Transports Tab(RSA1)- CTO
    Step 2: Release the subrequests first and then the main request by pressing Truck button
    Step 3: STMS or Customized transactions
    Object Collection In Transports:
    The respective Transports should have the following objects:
    1. Base Objects -
    a. Info Area
    b. Info object catalogs
    c. Info Objects
    2. Info Providers u2013
    a. Info Cubes
    b. Multi Providers
    c. Info Sets
    d. Data Store Objects
    e. Info Cube Aggregates
    3. Transfer Rules u2013
    a. Application Components
    b. Communication Structure
    c. Data Source replica
    d. Info Packages
    e. Transfer Rules
    f. Transformations
    g. Info Source Transaction data
    h. Transfer Structure
    i. Data sources (Active version)
    j. Routines & BW Formulas used in the Transfer routines
    k. Extract Structures
    l. (Note) If the transfer structures and related objects are being transferred without preceding
    Base Objects transport (e.g. while fixing an error) it is safer to transport the related Info
    Objects as well.
    4. Update Rules u2013
    a. Update rules
    b. Routines and formulas used in Update rules
    c. DTPs
    5. Process Chains u2013
    a. Process Chains
    b. Process Chain Starter
    c. Process Variants
    d. Event u2013 Administration Chains
    6. Report Objects u2013
    a. Reports
    b. Report Objects
    c. Web Templates
    Regards,
    Suman

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • How do I move an object from one photo to another and then change the scene, i.e.  winter to sum?

    How do I move an object from one photo to another and then change the scene, i.e.  winter to summer?

    OK.
    Open the picture with the new scene. This will be your canvas.
    Open the picture with object A, select it with one of the selection tools, go to Edit>copy
    Go back to the new scene/canvas, Go to Edit>paste
    Repeat for object B
    Use the move tool to position A & B, each on its own layer. Use the corner handles of the bounding box to resize, if necessary
    You should have 3 layers: Background layer, and the 2 layers with A & B
    Note: It's best if the resolution of the 3 picture files is the same value.

  • How to transport objects from one server to another server?

    How to transport objects from one server to another server.ie..from development to testing sewrver....

    Hi Manoj,
    Check these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/93/a3a74046033913e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    Transporting Objects IR ID using CMS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f85ff411-0d01-0010-0096-ba14e5db6306
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e1/69a740aa053a13e10000000a155106/frameset.htm
    You can choose either File transfer methor or CMS. File transfer method is the simplest.
    Sachin

  • How to reference a Textbox or a Grid object from one tile to another tile

    Hello All
    How do i reference a Textbox of a Grid object from one tile to another tile? I've 6 tiles in a tileset.
    Tile-1 has a "Complete" button when that button is clicked i want to loop through a values in a Grid object from Tile-3. Is that possible? I'm using Mobile Application Studio 4.0
    Thanks in advance,
    Hetal

    Hi,
    then I would implement sth like the following:
    dim myBO as businessobject
    dim i as integer, sValue as string
    for i = aMyAnchor.bcol.count to 1 step -1
      sValue = aMyAnchor.bcol.GetAttribute(i, "myProperty")
      if sValue = "" then
        aMyAnchor.bcol.item(i).delete
      end if
    next
    Please note that the deletion needs to be done bottom-up because of a refresh of the
    indexing after deleting of objects in the collection.
    The refresh of the grid is done automatically because of the data binding.
    Regards,
    Wolfhard

  • Transportation ( how to transport objects from one server to another)

    Hi BW guru's
    Please tell me the steps to transport objects from one server to another server.

    Follow the steps.
    1. RSA1 > Transport connection
    2. In the right window there is a catagory "all object according to type"
    3. Select required object you want to transport.
    4. Expand that object , there is select object, double click on this you will get the number of objects, select yours one.
    5. Continue.
    6. Go with the selection, select all your required objects you want to transport.
    7. There is icon Transport Object (Truck Symbol).
    8. Click that, it will creat one request, note it down this request.
    9. Go to Transport Organiser (T.code SE01).
    10. in the display tab, enter the Request, then go with display.
    11. Check your transport request whether contains the required objects or not, if not go with edit, if yes "Release" that request.
    Thats it, your cordinator will move this request to Quality or Production.
    Hope its helps.
    Regards

  • How to move object from one cont. to another

    Hi I am not able to move object from one container to another container in work order driver. while when i am same line of code in JMS driver its working fine and also log genarated for the same. but in work ordre driver it is not working. here is my code which i m using for the same.ple help me out
    <do-move-src-object class-name="ValeUser">
    <arg-dn>
    <token-local-variable name="var-str-nwoContent"/>
    </arg-dn>
    <arg-dn>
    <token-text xml:space="preserve">\</token-text>
    <token-global-variable name="dirxml.auto.treename"/>
    <token-text xml:space="preserve">\</token-text>
    <token-global-variable name="hrfeed.inactive.container"/>
    </arg-dn>
    </do-move-src-object>
    thanks
    Adarsh Kumar

    Idmlearner,
    sorry, but you are still posting in the wrong forum. You should ask
    these questions in the Identity Manager forum
    Shaun Pond

  • HT1476 How do I transfer insurance from one iphone to another iphone?

    How do I transfer insurance from one iphone to another?

    If you are referring to AppleCare+, it can't be transferred to another phone under any circumstances.
    If you are referring to insurance obtained through your carrier or from a 3rd party insurer, contact them.

  • Moving field object from one section to another programatically

    How do I move text/field objects from one section to another at run time. The ReportObjects collection in the section is readonly and setting the left, top property of the ReportObject only seems to move object within the same section.
    I'm using Crystal Reports version 10.5 that comes with VS 2008 professional.
    Edited by: iyounus on May 26, 2009 9:41 PM

    Hi;
    The trial version will offer this capability. You can either use RAS (which is available with Crystal Reports, or Business Objects Enterprise), or the Crystal Reports engine. Which you use will depend on the target for your application, see this for some tips on that:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc
    And, some links to samples that add fields:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20300f17-c566-2b10-b586-b8e8a23e6668
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3085841e-c566-2b10-238c-9f7c3f85d816
    https://www.sdn.sap.com/irj/boc/sdklibrary
    Regards,
    Jonathan

  • How to transfer the indexes from one DB To another DB

    Hi All,
    I have one question.I have to transfer all the database object from one database to another. and I have transfer it.Now I have to create an index on that tables then how can i know on which columns that indexes were created.and How I will create it in new database. Or Is there another way to transfer that indexes from old database to new database.
    Thanx in advance.

    user13310428 wrote:
    How I will create it in new database. Or Is there another way to transfer that indexes from old database to new database.You have to use the DDL (create index/create table with index constraints/etc) commands to create indexes.
    You cannot "+transfer+" the index data like you can table data. The reason is that indexes contains the physical address of the rows indexed. These addresses are different on the new database - and thus make the index data on the old database useless. Instead, you need to re-create the indexes so that the new row addresses can be determined and used by the index.

Maybe you are looking for

  • Can Soap Action be dynamically substituted in receiver side soap Action ?

    Hi all I am trying to place Action in Soap Receiver adapter. I could see the THeaderSoapAction  and the action I have specified in Dynamic Configuration and that action is not getting triggered I was going through previous posts and Raj was mentionin

  • Bug with currently selected and customised power plan.

    I have reproduced this twice now. I customised my power plans (the balanced and power saver but not the high performance). My personal settings are to never sleep and for sleep not to be an option. On two occasions I have returned to the PC and found

  • Can't open eBook on iPad: get E_ADEPT_INTERNAL error.

    I am trying to download to my iPad an Axis360 book i borrowed from my library. I have been able to download it to my Windows 8 PC, but i'm having trouble getting on the iPad. I have Axis 360 reader installed on my iPad. If i log in to the library, i

  • Adobe 14  keeps crashing

    is there someone who can help out with what seems to be a common problem, that adobe flash 14 keeps crashing?  is there a straightforward thing I can do to stop this from interfereing with my work? thanks

  • Powebook overheating since Applecare superdrive replacement

    Hello all - I'm posting this question in discussions because I can't seem to find an email address by which I can contact Apple support directly. My Powerbook G4 (12", 1.33GHz) is overheating regularly, even when the Energy Saver control panel is set