How to assign one JSP request object to another JSP

Hi,
I want to assign one JSP request object (i.e., previous JSP Page request object) to another JSP (i.e., current JSP page request object).
I don't want to use "<jsp:forward>" tag or "RequestDispatcher" obect here.
Because i want to display one message in the current JSP page, before sending both JSP pages' request to a servlet. How to do this ?
please help
Thanks in advance
Vishnu

You cannot assign a request and response object of one jsp/servlet to another, every jsp or a servlet get is own fresh copy of request and response object with the request parameter data from the previous page.
Unless u use request dispatcher or jsp:forward action, this solution that u r looking for by re-assigning the request and response object doesn't work

Similar Messages

  • How to 'hide' one stroked-only object behind another?

    I'm struggling with something that shouldn't be this difficult!
    I'm laying-out a white-only T-Shirt logo (to go on a dark-green T-shirt)
    For the sake of simplicity, let's say I have two ovals with no fill, just a white stroke.  A small oval overlapping (on-top-of) part of the edge of a larger (underneath) oval.    I
    Any advice on how to 'hide' the line that's 'behind' the top object?
    Thusly: http://i.imgur.com/ZghWTMa.jpg  

    Actually, I'm not completely sure yet.
    Steve's answer assumes screen printing with a single opaque white ink. It won't work if printing to non-opaque composite transfers, or cutting from aplique vinyl, or if you're going to import the two-ellipse artwork for combination with other artwork.
    Since you don't know:
    1. Draw the two circles with a stroke color and a fill color (ex: black Stroke, white fill) on both.
    2. Apply the desired stroke weight.
    3. Object>Path>Outline Stroke.
    4. Pathfinder palette: Merge.
    5. White pointer: Select the two inside regions and delete.
    6. You now have a single Compound Path; no overlapping objects, and actual "holes" where you want the substrate to show through. Apply whatever fill color (white, etc.) you need.
    But bear in mind what has already been stated: White, unless defined as a Spot Color, does not "print." Think in terms of inks, not in terms of "color". In a program like Illustrator, "white" normally means "no ink." And you always have to know what printing method you are designing for.
    JET

  • How to assign One Dimension Property value to another Dimension ID

    Business senario:
    There are two dimensions Entity and Plant. Plant also has a property Entity.
    In my Input Form, I need to derive Entity Property based on PLANT selection and should map it to ENTITY Dimension.
    I have selected PLANT Dimension and ENTITY Dimension in Page Axis. I have updated EPMOLAPMember() formula with EPMMemberProperty() for deriving Entity values. When I tried to save data an error message appears saying TOT_Code is not a base level member. So I checked Edit Report window and found that ENTITY Dimension is automatically moved to default left panel from Row Axis and Entity Dimension Context Menu is mapped to TOT_Code which is the top node of the total hierarchy.
    I tried EPMMemberOverride() function to overwrite ENTITY Dimension values with Entity Property of PLANT Dimension but unable to overwrite it.
    In Simple Words:
    ENTITY Dimension = PLANT Dimension (Entity Property)
    Is there any way to map/assign property value to another dimension??? Please help me.
    Thanks in advance.

    Hi,
    see please this thread for a possible solution http://scn.sap.com/thread/3230754
    Regards
         Roberto

  • How to use one report column into the another report in obiee

    How to use one report column into the another report in obiee

    i dont want to use column as a filter for another report it should be report column for another report
    Thanks,
    Vivek

  • How to copy one column BLOB value into another column of another database.

    How to copy one column BLOB value into another column of another database.
    BLOB value contains word document.
    I thought of copy the BLOB value into a text file and then update the new column value by the same text in textfile. Will this work?
    Is there any other better way to do this?

    You're welcome
    BLOB fields contains binary data. I don't think you can do this
    Also if I view the BLOB as text. Can I copy it and insert into the new database.
    I think your options are as I said. Datapump or CTAS
    Best Regards

  • Loading JSP Request Object on Application Init

    Background:
    I've been searching for close to two days for an answer to this question, it's full of gotchas and I can't quite get it figured out.
    I have an application which contains several web services. These services load up listeners when the services are invoked which makes them available for input. The user has the option of disabling automatic load of these services and invoking them manually by typing in the local url and starting the app. The can allow the autoload which uses a the or allowing the auto load to start. Currently the local url is hardcoded in a property file and this is how the services knows the local endpoint to envoke when it autostarts.
         <servlet id="AutoStart_01">
         <servlet-name>autoStart</servlet-name>     
         <servlet-class>com.loadmy.StartupClass.Here</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
    This works all fine and well until it's deployed onto a machine that runs a local weblogic cluster that has more than one jvm (and multiple ports) loading the application up.
    Problem
    The question is, how can you get the applicaton to recoginize the local url for the jvm that is running which can be on different ports? Here's what I've tried
    A - Using Inet.Address - This doesn't let you know what port your application is on
    B - Using the load servlet on start up ( Only the init() function is called and the request object hasn't been created and the request object is what contains ther protocol, server and port information)
    C - Loading a jsp page (READ... purposefully loading a jsp page) on application start. The thought here is that this contains a request object, but unfortunately on this doesn't work in my servlet container (currently tomcat 6 but the application is for a web logic machine)
    D - I thought about possibly using System.properties() but no luck there
    I'm at witts end on this one and I know there is something that can recoginze the local servlet container and extract the url and port from it.
    Any suggestions would be great.
    Flabergasted [sic]

    When you request from jsp1 comes to jsp2, it gets the request object.
    Now if you want to pass the same request object ot next jsp3, then please call the forward(request, response) as below:
    <jsp:forward page="jsp3.jsp">
    //This will forward the same request, response object which is there in jsp2

  • Assigning object of one class to object of another class.

    Hi,
    How will i assign an object of one class to an object of another class?
    Ex:
    ClassX A=some_method();
    Now how will I assign the object A of class ClassX to the object 'B' of another class 'ClassY'.

    In java you can only assign a object reference of one class into object reference of another class if the first class is the Second class (in other words the first class is a subclass of second class).
    for example if this is a inheritance chart
    Car ==========>Mercedes
    "===========>Audi
    then you can use
    Audi a1 = new Audi();
    Car c1 = a1;
    or Mercedes m1 = new Mercedes();
    Car c1 = m1;
    but not
    a1 = m1;
    before assigning a variable into another variable of different class, use:
    if(variable1 instanceOf ToBeAssignedIn Class){
    variable2 = variable1;
    example:
    Audi a1;
    Car c1;
    if(a1 instanceOf Car){
    c1 = a1;
    Edited by: gaurav.suse on Apr 10, 2012 1:14 PM
    Edited by: gaurav.suse on Apr 10, 2012 1:15 PM

  • One Transport request objects copy into new transport request

    Dear Experts,
    I created a transport request under which i saved my objects. <b>Now i need to  copy  old request objects into new request  or  split that transport request into number of new transport requests.</b>  First of all It is possible or not , if it is possible please tell  me the solution how to do.
    Regards,
    Krishna

    Hello Krishna
    You can
    (1) add object lists of already released requests ("old" requests) to you current request (still changeable)
    (2) merge changeable transport requests together
    (3) split a changeable request into several requests
    Whereas (1) and (2) are supported by standard functions of the SAP system (3) is a manual task involving the following steps:
    a.) Create a new request
    b.) Copy required transport entries (e.g.  R3TR TABL ZMYTABLE) from one request to the new request
    c.) Delete all copied transport entries from the object list of the "first" request
    However, if you are not fully aware of the dependencies between different transport object entries the splitting of object lists may cause hassle when you import the splitted requests into the next SAP system.
    Regards
      Uwe

  • How to use one ResultSet many times in a jsp page ?

    Hi all,
    I have .jsp page and I have used it to get data from DB and display them to users. So I have to get data from DB in number of places in this particular jsp.
    I thought that it is better to have one ResultSet for entire page and once it is done its job, the ResultSet will be closed and I can use it again and again like this.
    Resultset rs = new ResultSet();
    try{
        //My operations
    }catch(Exception ex){
       //Handle Exceptions
    }finally{
       rs.close();
    }After above code snippet I can use same ResultSet again below the page.
    I just want to know this,
    1. is this a good coding practice?
    2. Should i put rs = null; within finally clause?
    any help will be appreciated
    thank in advance,
    Dilan.

    Ok, Finally I switched my coding to use DAO and DTO, and I learned it through internet.
    I removed all of data access codes from my jsp file(lets say 'functions.jsp'). I then created one interface and two clasess.
    here is my DAO interface.
    public interface UserFunctionsDAO{
        public List<UserFunctionsDTO> selectUserList();
    }here is DTO class
    public class UserFunctionsDTO{
        private String category = "";
        private String sub_category = "";
        private int cat_id = 0;
        private int sub_cat_id = 0;
        public UserFunctionsDTO(){}
        public UserFunctionsDTO(String category, String sub_category, int cat_id, int sub_cat_id){
            this.category = category;
            this.sub_category = sub_category;
            this.cat_id = cat_id;
            this.sub_cat_id = sub_cat_id;
        //Setters and getters will go here.
    }my concrete data access class is like this.
    public class UserFunctionsDataAccess implements UserFunctionsDAO{
        MyDB dbObject = null;
       private static final String SQL_GET_DISTINCT_CAT= "SELECT DISTINCT cat FROM cat_table";
       public List<UserFunctionsDTO> selectUserList(){
           dbObject = new MyDB();
           dbObject.sqlSelect(SQL_GET_DISTINCT_CAT);
           ResultSet rs = dbObject.getResultSet();
           ArrayList list = new ArrayList();
           while(rs.next()){
               list.add(new UserFunctionsDTO(rs.getString('category'), .......................));
           return list;     
    }I think now im following good coding practices, but I have one problem.
    1. How do I retrieve this userlist from my jsp page?
    2. Should I include UserFunctionsDTO in my jsp page as a bean?
    3. If I include it, how can I get the list from it?
    thanks in advance,
    Dilan.

  • How to assign particular concurrent requests to sparate concurrent managers

    How to assign particular Users concurrent requests to custom or Sparate concurrent managers
    OS : Linux
    Apps: 11.5.10.2

    Hi,
    This can be done via "Specialization Rules".
    How to Create a Custom Concurrent Manager [ID 170524.1
    How to Split the Load of Work to Many Concurent Managers [ID 473310.1]
    Oracle Applications System Administrator's Guide - Configuration (zipped) -- Page 7-14
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115sacg.zip
    Make sure you bounce the CM once you are done.
    Thanks,
    Hussein

  • Sending request object to another application

    Hi
    Is there any possibility to send request object from one Application context to another application context.
    We have two JEE enterprise application that deployed on different application server I want to know if there is any possibilty to send request object to them or not?
    I don't like to redirect reuqest because I want to put some value in req body (POST method)

    It is possible to get a request dispatcher to a servlet in another context by first getting the other context's ServletContext object. For example, in the original servlet's doPost method::
        ServletContext otherContext = this.getServletContext().getServletContext(uriToSecondContext);
        RequestDispatcher dispatcher = otherContext.getRequestDispatcher(uriToForwardTo)
        dispatcher.forward(request, response);In order to work both applications have to be configured to be allowed Cross Context access. In Tomcat you do this in the <Context ...> element of the configuration XML file by defining the crossContext attribute to "true".

  • How to check a window is open in another jsp

    Hi everyone,
    i have a tricky question trying to solve this..
    in jsp1,"onClick" of link im opening in a new window
    href="#" onclick="JavaScript:popupOpen('<%=URLString%>','winName1');"><%=strName%></a>
    function popupOpen(winURL,winName) {
    winName1 = window.open(winURL,winName);
    in jsp1or jsp2 or jsp3 i have a logout link at the top of the page,when i click logout link in any jsp it redirects to logout page and i also want the window which is opened to goto logout page with URL.
    how can i do this,
    how to check a window is open or not in another jsp and if that window is open open with logout URL.
    Help needed
    Advance Thanks to all

    vveena123 wrote:
    can u explain what the below code does?Isn't it self-explaining? Geesh. Move on to a Javascript forum. Now.
    where to mention it??At the moment that you want to open the window and at the moment that you want to close the window. Isn't that obvious enough?

  • How to use one module pool program in another module pool programming?

    Hi
    I have one moodule pool program.
    In one of my screen i want to use some code which already developed in another module pool program.
    Is there any direct way for using one module pool programcode  in another module pool program.
    If there any approaches for this plz help me in this issue.

    Dear,
    If you want to use the code.
    first you can write your code in a subroutine in module pool program 1
    and then you can use it from module pool  program 2 by
    perform subroutine_name(program_name)
    using P_1
    changing C_1
    if you wan to use one module pool data into other module pool.
    so that is another requirement.

  • How to assign the cost to objects in object list in a PM order ?

    Hello,
    If there are many equipments in object list in one PM order, how can I assign the cost to every equipment in the order  ?  And how can I query the cost of every equipment in the order?
    I have tried to find the threads posted in the past, but I got no idear.
    Waiting for your reply. Thanks.

    Xifeng Xing
    As stated above, when EHP5 arrives it promises operation level costing functionality.
    At present this functionality is not available without designing your own reports
    PeteA

  • How to assign one characteristic to 2 dimensions?

    Hi all,
    I am creating a cube with dimensions including "ship_from" and "ship_to", both of them should use a characteristc "Country", how can I assign this "Country" to 2 dimensions?
    thanks in advance?

    Hi both, I am a new learner to BW, your ansers are very helpful, thanks very much.
    I deceide to make 2 info objects "country_from" and "country_to" and let them refer one same infoobject.
    Dinesh's answer bring me other questions about attribute and hierarchy, there is a hierarchy relationship on "region" and "country": region-->country, should I make "region" as an attribute of "country" and make a internal hierarchy or let them be a seperate and creat external hierarchy? thanks again!

Maybe you are looking for

  • App Not Launching, Problem Reported, Dev (F84Games) Not Responding, Refund?

    Hi all, I really need help with the 'Railroad Madness' app purchased for my son's ipad (from F84Games in Los Angeles). When he tried to play/launch it the game just crashes immediately after the splash screen. Reporting the problem to Apple (through

  • Adobe Connect 9 compatible Video Capture Card

    We have used an Osprey 260e Capture card successfully with version 8.  Unfortuantely this card does not work with the Adobe Connect 9 add-in.  Is there anyone in this community that has a decent capture card that works fine with Adobe Connect 9?  Tha

  • Best way to share a video with someone in another city...

    What is the best way to share a video with someone in another city? I know that FCPX contains all sorts of share options which create different resolutions and file sizes appropriate for different sites like YouTube, Facebook, and others.  But how to

  • Applets on Tomcat

    Hello Javaranchers I have made a simple applet which actually works fine on my ie6. But when I deploy all source to my Tomcat 4.1 I cannot get it to work. I have places my applet source in a package called dk.chatrmi. My class file is called ChatImpl

  • I CANT FIND OPTIONS ADDRESS BAR OR HOME PAGE

    I SET UP FIREFOX ON MY DADS COMPUTER BUTI CNAT FIND THE OPTIONS MENU . FILE EDIT VIEW OPTIONS ETC. == This happened == Every time Firefox opened == TODAY