How does one pass data between war files

Hello All,
I need to be able to pass values between 2 war files.
example:
from a JSP file in the 1st war file i get the login information and need to pass
the userid and password to another JSP in the 2rd war file.
Question: How does one go about doing this.
I'm using webLogic server 6.1 on NT.
Thanks - Bala

The problem is that web applications do not share the same session by
default. If you set the cookie name to be the same for both web
applications, you should be able to pass the data in the HttpSession...
Bala Ganesh wrote:
Hello All,
I need to be able to pass values between 2 war files.
example:
from a JSP file in the 1st war file i get the login information and need to pass
the userid and password to another JSP in the 2rd war file.
Question: How does one go about doing this.
I'm using webLogic server 6.1 on NT.
Thanks - Bala

Similar Messages

  • How does one pass import parameters to a report within a method?

    Hello all,
    Well how does one  pass import parameters to a report which is within a method ...end method.
    for example :
    method 123
    SUBMIT reportname using selection '1000'
    endmethod .
    Here we need to pass values into the selection screen and run the report for those values.
    The values are say 'ABC'   (  tablename "DEF" and field name "HIJ" ).
    I hope the question is clear, awaiting your response 
    Thanks and Regards,
    Sandeep.

    Go to SE24
    Parameters: Give the Parameter name, Typing method is "Type" is the domain type that u are selecting, say for e.g :  Parameter is "P_CONT" , its associated type "CHAR32" etc
    For Select Options:  Parameter name say "S_CUST", Type"importing". For this you need to give an associated type which must be created as "TABLE TYPE " in SE11. That table type needs to have a "LINE TYPE" .
    LINE TYPE is a Structure created with components "SIGN, OPTION, LOW & HIGH" for select-Options.
    NOTE: for a Table type related to Customer data fields "say KUNNR", the line type created must have the Component Type and data Type corresponding to the Data Element associated with "KUNNR" ;i.e: "CHAR" etc.
    See if this is clear to you or revert back in case of any Confusion.

  • In Garageband, how does one add silence between multiple music sections on 1 single track?

    Currently I have a bunch tracks that need to be exported in order for the mixing engineer to mix in his Protools program.
    Problem: I did a lot of cutting and pasting with in the tracks. So there are spaces in a track that need silence added, so that when I export them into protools, all the tracks start at 0 (Time) and end at 3 minutes and 54 seconds.
    What is the most efficient way to add this silence and ensure that every track is 3 minutes and 54 seconds long?

    The duplication is unnecessary. Exporting creates a duplicate of the file. So now you'll have a duplicate of a duplicate. Exporting is not "working on" a file.
    No it's not merging, it's exporting from one to the Finder and into another. No matter what lose something. If you export the Original you leave behind all the work you've done in iPhoto. If you export anything else, you lose the non-destructive editing and the ability to revert to the original. With merging you preserve that work. Yes, you can trash the old Library when you have completed the manoevre but no it's not the same thing as merging.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue. But in brief:
    Current gets you the iPhoto Preview, used for sharing via media browsers. It's a jpg, medium quality missing metadata. Original gets the file you imported, unchanged and then you can export different version of the current version at different qualities. If you choose to export anything except the Original you do not get a Raw. There's no such thing as an "edited Raw", and you lose the connection between the original and the exported version. That means you've taken a non-destructive workflow and turned it into a destructive one.
    The Tiff will certainly be higher qulaity and less likely to suffer generational loss in future editing but the file sizes are vast, often more than 10 times the size of the jpeg.
    Put it this way, it would be cheaper to buy Library Manager than the disk you'll need to contain all the Tiffs. Unless you plan on a lot of editing, I'd go for a high quality jpeg as a reasonable compromise.
    To be clear:
    So, I guess my new question is, how can I edit the Raw image and keep it in a RAW format that IPhoto recognizes so that I can reprocess without any loss at a future time, or is it that once you edit a RAW image, then it is no longer a RAW image?
    Once you edit a Raw it can no longer be a Raw. End of.

  • How does one access data in the cloud from two different computers

    This isn't a problem but a question anticipating a possible problem.
    I have a MacBook Air running os X (version 10.8.2) and a desktop iMac runing 10.7
    I notice that when I create a PAGES document on the Macbook Air, it automatically saves to the cloud with a tef extension unless I force the file to save to the hard drive.  Data on the hard drive is backed up, of course.  But there are files saved to the cloud that are not saved to my external time machine drive.
    If I lost the drive on the MacBook Air, can I retrieve the files in the cloud?  I have the other computer, but I don't think that OS 10.7.x can access those cloud files and I've been told that the iMac can not be upgraded to 10.8
    Even if I could load 10.8 on the IMac--how would I get to those files if I am not on my personal MacBook Air?  What's the key to retrieving that data?  I've checked some of the manuals that I have and they very happily tell you how to save files to the cloud.  There's no discussion on what to do if things go wrong. 
    I know how I would retrieve my oracle data here at work if I was sitting at another terminal--what's the equivalent process if I was sitting at another mac machine?

    Documents saved via the applications in 10.8 can be accessed from iCloud.com on any computer providing you have a mobile iWork application.
    Whilst documents are saved to iCloud on your 10.8 Mac, they are also written locally and therefore backed up with something like Time Machine.
    if you did update your 10.7 Mac, things would merely become easier, you could access documents saved in (say) pages on one Mac in Pages on the other.

  • How does one convert Nikon D750 raw files?

    Does the latest version of dng converter convert Nikon D750 raw files to dng files?  If not, is Adobe going to come out with a version that does soon?  I am using PS5.5 and have been converting raw files from a previous camera to dng files and then working on them in my version of PS, not sure how to handle D750 files...
    Thanks...

    No one outside of adobe knows when the will release software the Nikon D750 was announce what a week  ago. Nikon must have software to convert NEF RAW files to RGB images. Nikon | News | Digital SLR camera D750

  • How does one name an Archive Log file in ARC%S_%R.%T format

    Hallo!I have been trying to enable Archive Log mode for the Oracle 10g database.
    In OEM,I went via the links Maintenance->Recovery Settings->Media Recovery
    There,a text box by the name Log Archive Filename Format requires one to name the Archive Log file in ARC%S_%R.%T format.
    I have tried several times to name the Archive log e.g ARC001_001.001 but when I shutdown and restart the database instance,the error below appears
    ORA-19905: log_archive_format must contain %s, %t and %r.
    This error has proved impossible to rectify and I am forced to uninstall then re-install Oracle 10g.
    I would like to have back-ups in archive log mode.Please give me the best way to name the Archive Log file i.e with an example name so that I can have online back-ups.
    Thanks.

    Hi,
    If you try to change the LOG_ARCHIVE_FORMAT to something other than the default %s,%t,%r, it will fail
    Perform as the below steps in order to enable archive log mode
    SQL>create pfile from spfile
    SQL>create pfile='c:\temp\init.ora' from spfile;
    SQL>created;
    SQL>shutdown immediate;
    edit the init.ora file by adding the following information
    *.LOG_ARCHIVE_DEST_1='LOCATION=C:\db\archive1'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.dbf'
    Start the DB with modified pfile.
    - Pavan Kumar N
    Edited by: Pavan Kumar on May 2, 2010 2:17 PM

  • Excel VBA to JS: How does one pass rectangle coordinates to a JS function.

    I have an Excel VBA sub that calls a folder level JS function and I'm trying to pass a set of rectangle coordinates.
    This is the VBA code:
    Sub BarcodeDoc_PDF417(pdfFileName As String)
        Dim AVDoc As Acrobat.CAcroAVDoc
        Dim PDDoc As Acrobat.CAcroPDDoc
        Dim myApp As Acrobat.CAcroApp
        Dim jso As Object
        Dim bcTmpFile As String
            bcTmpFile = "C:\Temp\bcTmpFile.pdf"
            Set myApp = CreateObject("AcroExch.App")
            Set AVDoc = CreateObject("AcroExch.AVDoc")
                If AVDoc.Open(pdfFileName, "") Then
                    Set PDDoc = AVDoc.GetPDDoc
                    Set jso = PDDoc.GetJSObject
                        jso.myAdd417Barcode 'This is where the coordinates get passed.
                        PDFSave PDDoc, bcTmpFile
                    myApp.CloseAllDocs
                    myApp.Exit
                    Set AVDoc = Nothing
                    Set jso = Nothing
                    Set PDDoc = Nothing
                    Set myApp = Nothing
                Else
                    MsgBox "Sub: BarcodeDoc_PDF417. Document not found:" & vbCrLf & vbCrLf & pdfFileName
                End If
    End Sub
    This is the folder level JS script:
    function myAdd417Barcode(myCoords)
    //The line below is just for testing. Will come out once I can pass the coords in from my VBA sub.
    //var myCoords = [324, 756, 540, 720];
    InsertPDF417Barcode(this, myCoords);
    I've tried to pass the coords as a string and an array, both to no avail. Any ideas?
    Thanks.

    I tried typing the array as a variant (in the VBA code), but the JS script didn't like that either.
    I then changed the JS script to this:
    function myAdd417Barcode(n1, n2, n3, n4)
      var bcCoords = [n1, n2, n3, n4];
      InsertPDF417Barcode(this, bcCoords);
    and passed it 4 integers thinking it would accept them in a way that I could then define the rectangle coordinates as shown above. It didn't work, and the error I get is that myCoords (in the script below) "isn't defined".
    var InsertPDF417Barcode = app.trustedFunction( function(doc, mycoords)
      app.beginPriv();
      var bcIconFileName = "/C/Temp/bcTmpImage.pdf";
      //var bcCoords = [324, 756, 540, 720];
      var t = doc.addField("bcFormID", "button", 0, myCoords);
      t.display = display.visible;
      t.buttonPosition = position.iconOnly;
      t.buttonScaleHow = scaleHow.proportional;
      t.buttonScaleWhen = scaleWhen.always;
      t.buttonFitBounds = true;
      t.setButtonIcon
      var x = doc.importIcon("myIcon", bcIconFileName, 0);
      var f = doc.getField("bcFormID");
      var i = doc.getIcon("myIcon")
      var y = f.buttonSetIcon(i);
      app.endPriv();
    Any suggestions will be appreciated.
    Thanks!

  • How does one salvage data off of a water damaged iPhone 5s?

    It was submerged for more than 5 seconds and I have lost all hope of it to work properly again.
    All I would like to do is copy data off of the main memory such as music and photos onto my computer.
    It can still turn on but it operates very oddly.
    I plug in my charger into the phone and the critical battery sign comes up (little red strip in an empty battery).
    A few seconds later it boots up, with the apple logo and a brighter screen.
    7 seconds later it goes dark and that process loops.
    I wake up the next morning and it is off.
    I re-plug the charger and it not goes from the critical battery sign, to the boot-up apple screen, and then instead of going dark and looping, it goes to a dark screen but you can tell that it is on.
    It is like a completely dark/off screen but lighter. Almost like you increased a brightness meter to a completely dark screen.
    All things aside, it was dark but on and it stayed like that for a while before shutting off.
    Please help.

    This question pops up quite frequently but I've never heard of anyone having any success getting the data off a dead/damaged phone. Some have suggested  there are 3 party forensic services that can retrieve the data for a fee but I've never read any feedback to say it actually worked. Even 5 seconds is quite a while for battery powered electronic device to be submerged in water. Usually something gets shorted out. Try what ManSinha has suggested. You have nothing to lose. Good luck.

  • How does one remove dates from pictures?

    I accidentally set my camera to show the date on each picture. When I uploaded the pictures to my computer, I am unable to remove the dates from each picture. Is there a way to do this without having to use a "blemish" tool?
    Thanks in advance!!

    I accidentally set my camera to show the date on each picture. When I uploaded the pictures to my computer, I am unable to remove the dates from each picture. Is there a way to do this without having to use a "blemish" tool?
    You can not - you had the camera include the date as a part of the image so the only way to remove it is to retouch it out with a photo editing program - it is no different than removing a power line or a person from the photo - it is part of the image
    LN

  • How to pass data between components?

    Hi everyone,
    How can I pass data between components? If possible, please
    give me sample code. Thanks.
    Note: I am using Flex 3.
    May

    There are lots of examples in the doc. You can start here:
    http://livedocs.adobe.com/flex/3/html/mxmlcomponents_advanced_1.html
    Stephen

  • Pass data between InfoPath forms in SharePoint

    Hello!
    Maybe someone has ideas about the next issue: how to make pass data between InfoPath forms in SharePoint, like it is shown in a video: https://www.youtube.com/watch?v=-nGl-Se2cOQ
    I've read similar topics, but still can't find solution.
    Thank you.

    When you go to modify the submit connection, you can specify whether or not to overwrite, as well as a default title value. If you use the now() function in the title, it should never have the same name.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How does one peek at touches without ruining a UIScrollView?

    If you subclass the:
    touchesEnded: withEvent:
    method in a UIScrollView delegate, you will ruin the scrolling. How does one pass this even onto the scroll controller? I now that in a UIWebView you forward the event to the first object, but is there a known trick for handling UIScrollViews?

    To further explain, if I want to note that touches began, and then pass the event onto the scroll handler, how does one do that? Do i pass the event to the "super"? where do I send it?

  • I migrated all data from old PC to new and iTunes successfully transferred to new PC. When I click on a song it says it cannot locate the original. How does one map iTunes file to iMusic to enable play from original files ?

    Subject: Migration
    I migrated all data from old PC to new and iTunes successfully transferred to new PC. When I click on a song it says it cannot locate the original. How does one map iTunes file to iMusic to enable play from original files ?

    Subject: Migration
    I migrated all data from old PC to new and iTunes successfully transferred to new PC. When I click on a song it says it cannot locate the original. How does one map iTunes file to iMusic to enable play from original files ?

  • Performace tuning: how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Wei,
    Yes we can transfer the data by using
    SAP Memory OR ABAP Memory.
    Ex:  V_count TYPE i.
      V_count = 100.
    LOOP AT  itab.
    IF v_count EQ 25.
    Here For every batch job
      EXPORT data TO MEMORY ID 'ABC'
       Function module
        JOB_OPEN
       JOB_SUBMIT
       JOB_CLOSE.
      ENDIF.
    ENDLOOP .
    IN your 2nd program.
    INITIALIZATION.
    IMPORT data FROM MEMORY IF 'ABC'.
    FREE memory if .---When you free the memory you will get recent data.
    Don't forget to reward if useful.

  • SAP threading-how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Passing Data Between Programs
    [http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm]

Maybe you are looking for