I have doubt regading...response.sendRedtrect,

Hi,
I have doubt regading...response.sendRedtrect,
That is, it possible to send Session object, one server to another server..using response.sendRedirect.
i would very thankful to give this answer,
Thank you
Ramesh

To my knowledge, response.sendRedirect will be a fresh request. So a new Request object will be created and you will lose all information that you had in your previous request object, including session.

Similar Messages

  • I have doubt on filters

    Hi,
    I am Praveen ,I have doubt on servlet filters.
    First i can create a servlet ,in that servlet i can store some Text message to servlet and again in that text mesage can send the response to the filter.but it can not come pls reply me
    public void doFilter( ServletRequest request, ServletResponse response,
    FilterChain chain ) throws IOException, ServletException {
    response.setContentType("text/plain");
    PrintWriter out = response.getWriter();
    CharResponseWrapper responseWrapper = new CharResponseWrapper((HttpServletResponse)response);
    // Get response from servlet
    StringReader sr = new StringReader(new String(responseWrapper.toString()));
    // out.println("The result is "+sr);
    out.write("Filter latered the response");
    out.write("\n \n");
    out.println(sr);
    chain.doFilter(request, responseWrapper);
    out.flush();
    I am Writing this code ,But output will not come.
    Plsssss

    try placing chain.doFilter(request, responseWrapper); after out.flush();

  • I have doubt in Read statement

    Hi All.
    I have doubt in Read statement .i need to convert following select statement  as read statement .how can i change help me.
    IF p_field1 IS  INITIAL
         AND p_field2 IS INITIAL
         AND p_field3 IS INITIAL
         AND p_field4 IS INITIAL
         AND p_field5 IS INITIAL.
        SELECT *
              FROM zdbt
               INTO TABLE itab
               WHERE field5 = p_field5
               ORDER BY PRIMARY KEY.
        IF sy-subrc <> 0.
          MESSAGE s035.
        ENDIF.
      ENDIF.
    regards,
    Jay.

    hi
    The READ statement is as below:
    When u have a table already with values and to improve the performance u need to use this.
    Reading Lines of Tables
    To read a single line of any table, use the statement:
    READ TABLE <itab> <key> <result>.
    For the statement to be valid for any kind of table, you must specify the entry using the key and
    not the index. You specify the key in the <key> part of the statement. The <result> part can
    specify a further processing option for the line that is retrieved.
    If the system finds an entry, it sets SY-SUBRC to zero, if not, it takes the value 4, as long as it is
    not influenced by one of the possible additions. If the internal table is an index table, SY-TABIX
    is set to the index of the line retrieved. If the table has a non-unique key and there are duplicate
    entries, the first entry is read.
    Thanks
    Shiva

  • I just got my replacement  iphone5 but i am not satisfied that because the battery backup is worst and the one of the speakers have not working so i have doubted that its a brand new or refurbished one. i replaced it in the warranty period

    hi i just got my replacement  iphone5 but i am not satisfied that because the battery backup is worst and the one of the speakers have not working so i have doubted that its a brand new or refurbished one. i replaced it in the warranty period

    thanks for the information about speakers. and i mean the battery back up the battery i always getting lower even im not use. and can u pls tell me how to check this as a brand new or not. b'coz in the store they gave me replacement phone without boxing. the phone was coverd by wrap and they never give any receipt for this

  • I have doubt in pp module....

    i have doubt in pp module....
    i want to know relationship between pp tables (s901,s902,s903,s904)
    and bomtables (mast,stpo,stko,stas)
    because the material(element) available in pp tables is not
    exists in bom tables.
    key: plant,material,sub material
    i thought that data pbm in bom tables....
    i want to clear that all ( plant,material,sub material) records
    must available in bom tables.....
    in my system....
    ( plant,material,sub material) records available in pp tables.
    but not in bom tables

    STKO                    BOM - header
         STPO                    BOM - item
         STAS                    BOMs - Item Selection
         STPN                    BOMs - follow-up control
         STPU                    BOM - sub-item
         STZU                    Permanent BOM data
         PLMZ                    Allocation of BOM - items to operations
         MAST                    Material to BOM link
         KDST                    Sales order to BOM link
    Check these tables....

  • I have a macbookpro may 2010 with Intel core 2  duo processor can i upgrade to osx mountail lion ,i have doubts that the macbook becomes very slow on this processor

    macbook pro 2010 with 2.4 Ghz intel core 2 duo can i upgrade to mountaion lion ,i have doubts that it becomes very slow

    Welcome to the Support Commuities. See under Supported Models here:
    OS X Mountain Lion Technical Specifications
    ...Although your MacBook Pro is supported, it may be advisable to wait until OS X 10.8.1 or 10.8.2 in order to avoid the possibility that your Mac slows down due to bugs in 10.8.0.

  • Hello sir, Hello sir.    Plz clarify me... My frnd have iphone 5s sealed pack. He purchased it from uk..he told me the phone is unlocked..but i have doubt phone is locked or unlocked..plz help me how can i know phn is locked or unlock???

    Hello sir, Hello sir.    Plz clarify me... My frnd have iphone 5s sealed pack. He purchased it from uk..he told me the phone is unlocked..but i have doubt phone is locked or unlocked..plz help me how can i know phn is locked or unlock???

    hellow sir i have iphone 3gs but its unofficely unlock .
    can i update my iphone ?

  • I have doubts in interface

    Hi all,
    I have doubts in interface . You please help me.
    My question was
    i have two interface. and also i have only one method in both interfaces.these method are same name in both interface
    Now i implement these interfaces in my class it's work properly. it doesn't through exceptions.
    But i have changed the return type of methods,
    ie i put int for one
    and void for another one.
    it throws exceptions . duplicate method access.
    how to i solve this problem? did u catch my point?
    please help me Advance in thanks.

    i have two interface. and also i have only one
    y one method in both interfaces.these method are same
    name in both interface
    Now i implement these interfaces in my class it's
    work properly. it doesn't through exceptions.
    But i have changed the return type of methods,
    ie i put int for one
    and void for another one.
    it throws exceptions . duplicate method access.
    how to i solve this problem? did u catch my point?Yes I caught it. The solution: don't do it. Methods differ by name and argument type list. Return values are not looked at.
    Another solution: have the methods take different arguments. Or rename one of them.

  • I've applied for my free copy of mountain lion but have received no response from apple. What do I do?

    I haver received no response from apple. I applied 2 days ago.

    I've been waiting since yesterday morning... Haven't heard a single thing. I called AppleCare and was told it would be up to 24 horus, which has well since passed.

  • My iphon 4S and iPad 2 screen have become less responsive since I've updated to IOS8

    Hi,
    Since updating my os to IOS8 I have found that the touch screen on both my iPhone 4S and my iPad2 have become less responsive to gestures. They have also become laggy when performing commands.
    They are two distinct issues though. I have noticed the decreased sensitivity most when logging in with my pin code. I hardly ever had to enter my pincode more than once because i missed a digit but now im doing it all the time. Also when using the YouTube app the time slider is so unresponsive... and the slider when watching a fullscreen vid within safari is the same.
    I expected the laggyness after upgrading as they are older models but I don't understand why the sensitivity would reduce.
    Anyone else?

    Try resetting the wireless router.
    http://support.apple.com/kb/TS1398

  • I requested my upgrade to OS X Mountain Lion but have had no response

    I applied via the online form for my free upgrade to Mountain Lion but have had no response.... I have now moved to a foreign country and it is too expensive to call apple as I only have a mobile phone.... can anyone tell me how to contact someone by email or what to do to resolve the issue?

    Ive looked through the Contact us page and I cant find any email addresses... and I dont want to call as it will be too expensive as I only have a mobile and Live abroad

  • I have a non-responsive app.

    I have a non-responsive application.  I've tried alt+cmd+esc and it doesn't work.  I have held the start button to shut the computer down but when I boot the computer again the app automatically opens and I'm stuck again.

    Hello sonwatcher,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    Best of luck,
    Mario

  • I have reached 500 responses. Is there a limit, and if so, how do I increase capacity to accept more forms?

    I have reached 500 responses. Is there a limit, and if so, how do I increase capacity to accept more forms?

    As a part of the end of life plan we have removed the 500 limit on basic accounts. If you had a basic account you should now be able to collect up to 5000 response per form. You will have this level of permission throughout the end of life process. Please let me know if this helps.
    Andrew

  • Have doubt?? Can any one clear it

    Hi guys i have doubt.It will be nice if
    some one clears it
    around.
    Question:
    when making a connection to the database using
    ConnectionPooling should we close
    connection,statementobject and resultSet.
    like this(this is the way i am doing too.)
    try
    ---opening a connection,rs,stmt
    other code
    }catch() {
    finally{
    if(rs!=null)
    rs.close();
    if(stmt!=null)
    stmt.close();
    if(conn!=null)
    conn.close()
    Doubt:
    Is it not Sufficient to close the connection.Can any one
    explain in detail why resultset and statment should be
    closed.

    From my understanding, close releases resources on the object, so I would suspect that each DB driver implements their resources independently. It would be DB driver specific if closing the connection would cascade the resource cleanup to any objects that were created within that connection. I perform the same logic you do at the end of my DB calls. I have each in a try/catch since close throws SQLException, and I would prefer if each got the chance to execute. I don't do anything with an exception if close fails, because there really isn't anything you can do.
    try {
          ...something to DB
    }finally
       try {
           if(rs != null )
              rs.close();
       }catch(Exception e){}
       try {
           if(cursor != null )
              cursor.close();
       }catch(Exception e){}
       try {
           if(conn != null )
              conn.close();
       }catch(Exception e){}
    }

  • I have  doubt on userexits

    I have developed some code in standard SD userexit for VA01 tcode for my own functionality.In standard SD userits some zincludes are there in that include i wrote a code for my requirement.My requirement was successfully worked.But my doubt is if someone use same tcode va01.In this situation my requirement was globally imacted to others or not? Please clarify my doubt.Userexits means without modifying the SAP standard functionality we can add our own functionality.

    Hi Sujatha,
                            Userxits allow us to add our own functionality to SAP standard program
    without  modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP. Or
    when there is a need for customization, then we require User Exits. This is ABAPer Job..he will find User Exits in SMOD Transaction and impliments it in CMOD Transaction. Customisation in the sense, changing the sap standard program.
    You can more detailed information in these links about user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://sap.niraj.tripod.com/id21.html
    Hope this is helpfull.
    If helpfull rewad poins.
    Thanks and Kind Regards
    Mohan

Maybe you are looking for

  • Best Policy for Setting up Media Centers

    Hi Everyone, Well after after re doing my whole media center with ATV and iTunes I would like to setup up a forum for Best Practice on setting things up. I encourage everyone to please add to it if you think of better ways to do things. The reason fo

  • DNS is waiting for AD to signal the initial replication has completed

    Hello, First off, thank you for your help in advanced. Any help you can offer would be appreciated, and let me know if there's more information you need me to provide, or utilities to run. I have just joined a Server 2012 R2 DC to my Server 2008 R2 d

  • My wifi is no longer working in my home office

    I have had my desktop in my office for over a year, last week it stopped working. All other devices are working fine. I can move my desktop to other rooms in the house and wi-fi works fine, but when i plug it back in the office it no longer works. I

  • How to change the language of administrator system message in outlook

    I wonder where is the option which changes the language of the text related to : Your mailbox is over its size limit send by the system administrator ? Some mailboxes get this message in French and other in English ? Is anyone can help me ? I work wi

  • A centred page moves about when scroll bar appears DW Cs5?

    Hi everybody, I have noticed that when you have web pages centred, that the pages annoyingly move about when a scroll bar appears. Some times a page is longer than the browser window and so a scroll bar appears on the right which allows the viewer to