How can i pass the olde request from jsp to RH?

i get to jsp page from requset handler A and in the jsp page i use request.get.. to display information on the screen.
the problem is that in case that the user press on lunguage link it send u to REQUEST handler B that do some jobs and than return you to the same page but now the page dosnt work because the old request is lost and when he get into the line request.get it falls.
so any one know how to forward the old request to the request handler without putting the old request in the session???
i understand that in case that u display data to the user forward dosnt work so here begin the problem.

If I understand you correctly, you build a page based on a request. The page loads and the user makes another request. In processing this second request, the user should be returned to the same page, right? This tends to happen a lot in web apps.
The model we use is to have a PageModel instance for each page in the application which contains each of the datamodels needed by the JSP. We also have a method responsible for building that PageModel from data contained in the request/session.
If you set up a PageModel for the page you want to return to you can set this into the session and when you second request comes to build the page, you can either build the page from the new request or use the one stored in the session or a combination of the two.
The advantage of this is to make getting values from the request cleaner and the building of pages somewhat easier, just a series of pageModel.set...() methods before the jsp does pageModel.get...().
Mark

Similar Messages

  • How can i pass the value one from to another form?

    hi all
    how can i pass the value one from to another form  with out use it when ever i want to needed this value that ican useit?
    like i have two fields U_test1 and U_test2  table name @AUSR
    that i have  four form  A! , A2,A3,A4    please tell me in details....?

    Hi,
    U can assign the values to some variables and access then in ur required forms.
    Vasu Natari.

  • How can i pass the same parameter from 1 jsp page to many jsp page?

    hello.....
    how can i actually pass a parameter from 1 jsp file to many other jsp files? pls help......
    thanx

    Hi
    Save the information which u want to pass to various JSP's inside Session Object.
    There is an Object called HttpSession and u can store information inside which other jsp pages within the same domain and same browser instance can use it.
    commands which are for ur interests are
    <Session Object>.setAttribute("<object name>", <value>);
    Example
    HttpSession objsession =request.getSession(true); String strName="NEED_HELP":
    objSession.setAttribute("Name", strName);
    And then u can retreive that information in your n pages.
    Read any JSP/Servlet Books and u will know about them
    Bye.

  • I bought a new iphone and sold my old 4S. How can I delete the old one from my account ?

    I sold my old iphone 4S when I updated to the 5s. the person who has it now says it is still linked to my apple ID. How can I unlink it to my account so they can use it. I had ATT help me unlock it.
    Thank you for any help you can give me.

    Click here and follow the instructions.
    (115825)

  • When I update apps on my iphone, sometimes my current email comes up as my apple id, and sometimes my old email comes up as my apple id. How can I remove my old email from my account?

    When I try to update apps on my iPhone, sometimes my apple ID is shown as my current email, and sometimes my old email comes up. How can I delete the old email from my account?

    sealmajean wrote:
    I just delete the old app and repurchase the app again? They are all free apps.
    That's what I'd do, since they are all free apps. Be sure & delete in iTunes as well as on your phone. When prompted in iTunes, move all files to trash & empty your trash. You don't want any trace of them left.

  • How can I restore the game data from an old ipod touch to a new one?

    How can I restore the game data from an old ipod touch to a new one?

    Restore it from the backup of the old ipod.

  • How can I pass the photos from one iphone to another?

    how can I pass the photos from one iphone to another?

    Use the Beaming feature. See the info at the ? In iPhoto for iOS.

  • How can I remove the old apple id from my ipod 4rth gen to log in my new apple id ? (my old apple id keeps showing automatic I can't put my prefer new apple id)

    How can I remove the old apple id from my ipod 4rth gen to log in my new apple id ? (my old apple id keeps showing automatic I can't put my prefer new apple id)

    - Note that apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • TS3899 I upgraded to iOS 7 and I lost emails that were in my inbox - I used to see all emails that I did not delete, now I only have emails from the past month - how can I get the old, undeleted emails back? Or, at least, show email older than one month o

    I upgraded to iOS 7 and I lost emails that were in my inbox - I used to see all emails that I did not delete, now I only have emails from the past month - how can I get the old, undeleted emails back? Or, at least, show email older than one month old?

    I upgraded to iOS 7 and I lost emails that were in my inbox - I used to see all emails that I did not delete, now I only have emails from the past month - how can I get the old, undeleted emails back? Or, at least, show email older than one month old?

  • How can i pass the  parameter for strored procedure from java

    dear all,
    I am very new for stored procedure
    1. I want to write the strored procedure for insert.
    2. How can i pass the parameter for that procedure from java.
    if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from java

    Hi Ram,
    To call the callable statement use the below sample.
    stmt = conn.prepareCall("{call <procedure name>(?,?)}");
    stmt.setString(1,value);//Input parameter
    stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
    stmt.execute();
    seq = (int)stmt.getLong(2);//Getting the result from the procedure.

  • How can i pass the music from my ipod touch to my mac

    how can i pass the music from my ipod touch to my mac

    If the music on the iPod was purchased through iTunes you can try Transfer Purchases.
    Connect the iPod to the Mac and launch iTunes. Right click on the iPod name on the left side of the iTunes window under the devices heading and select Transfer Purchases. That should transfer the music into the iTunes library on the Mac.
    iTunes Store: Transferring Purchases

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

  • How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac?

    How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac? I've changed from a Macbook to a iMac because that one stopped working and I cannot use it anymore. I've been able to import all the data of the last backup of the Macbook when setting the new iMac, but I cannot access now to the old backups of the Macbook and there are information that wasn't in the last backup and I would like to recover. Thank you very much.

    Yes, you can ..
    Read Q17 here.
    http://pondini.org/TM/FAQ.html
    Strongly recommend his whole section.. 14-17 and read it carefully to understand the ways you can make TM work for you.

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

Maybe you are looking for

  • Imac usb ports stopped working?

    i was using a new 10 usb hub, imac said something about draining power and then froze now only one of the three usb ports worked. i have reset PRAM and SMC completely unplugged power and still the two ports do not work..any help

  • What 32inch plus tv to buy in the UK to use with new intel Mac mini

    As the title - What 32inch plus tv to buy in the UK to use with 1.83 intel Mac mini. It does not have to have freeview as I will be using tubestick. I do want to use the hdmi connection. Who's got a great setup, with no issues - model numbers appreci

  • Custom Fields in GRC 10.0 - CUP

    Dear Experts, Please help me in creating Custom fields in GRC 10 - ARM (CUP). I want to create Custom field called Country and assign approvers to that field and Make user of this field in user request form as mandatory field. Could you please let me

  • SQL LOADER , EXTERNAL  TABLE and ODBS DATA SOURCE

    hello Can any body help loading data from dbase file .dbt to an oracle 10g table. I tried last day with SQL LOADER, EXTERNAL table , and ODBC data source. Why all of these utilities still failing to solve my problem ? Is there an efficient way to rea

  • Beginning Welcome Screen

    Hello, have a simple question on the WELCOME SCREEN. This is the screen when you push the top button on the phone and all you see is the time, date, if you have any notifications...and 1 calendar event..."Next Event"...my question is is there anyway