Session problem in a new window created by window.open()

hello,
I have a drugsearch.jsp page, I sessioned an durgCollection object on this jsp page using session.setAttribute("drugCollection",drugCollection);
there is a link on this jsp which will call a javascript to open a new window .
here is the javascript to open another new window:
function openReportWindow()
window.open("/drug/Report.jsp","report", "toolbar,scrollbars,width=800,height=800,left=100,top=10");
but in the Report.jsp, I won't be able to get the same session object as in the calling jsp ( drugsearch.jsp) by calling session.getAttribute("drugCollection").
if I change the link on drugsearch.jsp to link to the Report.jsp directly instead of opening a new window, then I can get the same session object from the Report.jsp.
what's the problem? can someone give me an advice?
thanks

A session is assosiated with one client(browser).
when you open a new browser, a new session is created. In order to have common place for both the browsers, try storing the data in the 'Servlet Context'

Similar Messages

  • Problem with this new version is when i open firefox something change my home page to mozila defalut page and in the new tab open mozila firefox first run page.Sorry for my bad English

    Problem with this new version is when i open firefox something change my home page to mozila defalut page and in the new tab open mozila firefox first run page.Sorry for my bad English

    Sounds like this issue:
    * http://kb.mozillazine.org/Preferences_not_saved
    * [[Preferences are not saved]]

  • New folder created in Windows explorer not visible in Bridge.

    If I create a new folder in My Pictures
    folder using Windows Explorer, it doesn't show up in Bridge
    . I do it that way because selecting
    Get Photos from Camera doesn't allow me to select only the photos I want from the card. Why does Bridge not show all folders in My Pictures. I have Windows 7 Home Premium 64 bit. This message is formatting rather strangely.
    Thank you

    Libraries rely on a good bit of "magic" that has been added to Explorer.
    My advice:  Avoid them like the plague.  They do nothing you can't do by organizing your folders yourself, but they cause a host of problems.  I've disabled them in my system and in a year I haven't missed them one bit.  I'm all the happier for it.
    Windows 7 is a great system, but one of its weak points is [some parts of] Windows Explorer.  I think the same people programmed Explorer as made those awful commercials.
    -Noel

  • Sessions problem starting a new task.

    Hi,
    I have used
    CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
        STARTING NEW TASK 'XXXX'
        EXPORTING
          tcode                 = 'ZTRX'
        EXCEPTIONS
          communication_failure = 1
          system_failure        = 2.
    where a program/report is called by ztrx transaction. xxxx is never defined and I hope this is correct. I have the problem that after starting the transaction ztrx in a new session, if an error occurs, is very difficult o sometime impossible to kill sessions opened.
    Is there a method (using a different call FM or specific tests) to avoid multiple and not controlled open sessions?
    Many thanks in advance for your kind cooperation.
    Regards,
           Giovanni

    if you are seeing:
    #### Java Web Start
    try turning on all tracing and see if more information is shown in trace file.
    (in 1.4.2 or 1.5.0 create file ".javawsrc" in your home directory with:
    TraceBasic=true
    TraceSecurity=true
    TraceNetwork=true
    TraceTemp=true
    TraceCache=true
    then turn on tracing in the Java Control Panel.
    /Andy

  • 5200 photosmart all-in-one problems printing with new dell computer running windows 8.1

    have a photosmart C5280 all-in-one that I was using with a computer running windows XP, it worked fine. Bought a new computer running windows 8.1, printer not printing very well at all. It prints page after page of one or two lines of hyroglifics untile I cancelled print document  to stop using up paper. I uninstalled printer software and reinstalled from HP web site software for running with windows  8.1 still not working.
    This question was solved.
    View Solution.

    I think this has got me printing again. I had to uninstall the full feature software and loaded the driver only. I could not get the full feature software to load completly so I loaded the driver only and this seem to work O.K. Thanks for the help.

  • Having problems installing the new update on my Windows 7 machine.

    Whenever I open Creative Cloud, it forces me to install an update.  When I try to install, I receive this message, "There seems to be a problem with the file download. For troubleshooting tips, please visit our customer support page.(Error code: 201) Contact Customer Support"  Any ideas on how to fix this?

    Errors 201 & 205 & 206 & 207 or several U43 errors
    -http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Problems updating to newer version of itunes (windows XP)

    This is the error message I get when installing Itunes
    *The software you are installing has not passed Windows Logo testing verifying its compatibility with Windows XP. Tell me why this testing is important (this sentence is highlighted blue).*
    *Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the near future. Microsoft strongly recommends you stop this installation now and contact the software vendor for software that has passed Windows Logo testing.*
    I have clicked on the link -Tell me why this testing is important (this sentence is highlighted blue), it opens the Microsoft help and support center.
    I have continued the setup.....and itunes does not function correctly *it does not recognize my iphone*
    I have tried re-downloading itunes 7 Iafter the dozens of uninstalls)times now. I have uninstalled all components....still the same message. I have tried uninstalling only itunes, still the same message. I do not know what else I can do.....can someone please help.
    Thanks

    No problem.
    (Unfortunately, there's a lot to wade through in that document. I'd probably try the *Method 4: Reregister DLL files that are associated with Cryptographic Services* fix first, because security dll issues have been known to cause install and launch issues for iTunes in other contexts.)

  • Problems Connecting 2 New Macs to a Windows Workgroup

    We have a Windows workgroup in our orphanage that has been working fine. The Windows XP computers use the IPs of 192.168.0.1 (the gateway computer that connects to the Internet), 192.168.0.10, 192.168.0.20, 192.168.0.80, 192.168.0.90 and 192.168.0.100
    I have (attempted to) assign the IP addresses of 192.168.0.30 and 192.168.0.40 to the two new Macs I am wishing to add to our system. Eventually I want to go all Mac.
    I am using the DNS of 202.102.224.68 and 202.102.227.68 on the workgroup.
    All of the windows boxes except one are standard network with LAN cables. One is wireless. There are three wireless access points in the system and I am attempting to set up both Macs using Airport.
    Prior to hooking up the two new Macs I have two Sony Viao Laptops that are able to connect to the network via any of the three wireless access points. All the computers and the laptops can connect to the Internet via the gateway computer at 192.168.0.1. File sharing works fine. Printer sharing works fine with any of the three printers we have in our workgroup. Remote access works fine also.
    Now that I have included the two new Macs they can see each other but not the other computers in the workgroup. The PCs cannot see each other now... and.... the two Macs can connect to the internet via the Win XP gateway at 192.168.0.1 even though it does not show up in Finder.
    I am terribly confused and I have tried to read every post in this thread but none seem to help.
    I downloaded and installed "Workgroup Manager" but the first thing that happens when I attempt to run it is it asks me for "Address", "User Name" and "Password" in the connect window titled "Workgroup Manager Connect"
    Of course I know my user name and password but I have no idea what it is looking for in the "Address" box.
    I would sure like some help if anyone has the time.
    What I want to achieve is simply add the two new Macs to the workgroup so all computers can have file sharing, remote access, Internet access and printer sharing.
    Thank you in advance!
    The Oowf
    Message was edited by: oowf

    I was told my post was in the wrong forum so I re-posted in the correct forum and want to delete this post but can't see how.
    I would ask an admin to delete it for me..
    I do apologize...
    Thank You!

  • Director 12- can't create a windows projector - problem writing file error

    I am trying to create a windows projector of a project. when I get the following error - problem writing file - file name- Can't compress file that has been modified and not saved. The file has not been modified and has been saved. Any help would be great.

    Hi.
    You say you have tried publishing to a new empty folder.  From the video I can see that the folder has table1.app in there (25 secs in) which is a Mac projector that has been published.
    Yet you have Windows Projector checkbox ticked at the start of the video.
    I publish Mac and Windows projectors to entirely seperate folders as a matter of practice.
    I call the folders "Published" and "PublishedMac" and that is where the respective projectors for each piece of software lives.
    Perhaps there is some mix up between Mac and Windows publishing that is going on because
    you are publishing both to the same folder?
    Hope this helps.
    Richie

  • New Database Create Fails in Windows 2003

    I have just installed Oracle9i on Windows 2003 Enterprise Edition without any problems (Server software -> New version of the Installer -> Patchset). Then I tried to create a new database with the DBCA (Database Creation Assistant). Although I can create the template without any problems, the db creation fails with a messagebox showing "CreateProcess: null -new -sid GTPORA -startmode m error=2". Then it gives me a ORA-12560 error. Can anyone assist here ?

    I have installed 9.2.0.3 following the instructions - server; new installer; then the patchset. It looks like a problem of the Java environment that DBCA is using but I am not sure.

  • I installed First time Photoshop CS5 on my new PC (operation system windows 8.1, 64 bit). Sie prpram runs without problems so far, only the update is not possible.

    Bei aktalisierung erfolgt das download, nach ende Download kommt Fehlermeldung fehler beim Download (Installation nicht möglich, Versuchen Sie es später noch einmal.
    Kennt jemand das Problem, was kann ich tun?
    Harald Bässle
    Emailaddresse: [email protected]

    Hello,
    I installed the newest Application Manager some updates seems to be installed now but extension manager CS5 5.0 update is not successful > error code U43M1D207. What I must do?
    I this the right way t answer?
    Whating for reply
    Thanks
    Harald
    Von: R_Kelly 
    Gesendet: Freitag, 29. August 2014 03:41
    An: Harald Bässler
    Betreff:  I installed First time Photoshop CS5 on my new PC (operation system windows 8.1, 64 bit). Sie prpram runs without problems so far, only the update is not possible.
    I installed First time Photoshop CS5 on my new PC (operation system windows 8.1, 64 bit). Sie prpram runs without problems so far, only the update is not possible.
    created by R_Kelly <https://forums.adobe.com/people/R_Kelly>  in Photoshop for Beginners - View the full discussion <https://forums.adobe.com/message/6683157#6683157>

  • Session control lost in new pop-up window

    Hi people,
    In one of my pages in the Portal I have a link that opens a BSP Application in a new window.
    The idea is to allow the user to open the same application with different info in different windows. But is not working, I have at least two problems.
    1-     when I close the new window, the object  that I was editing is not free and session remains open.
    2-     after I open a second window, the first window starts to point to the application of the second window.
    I think that my problem is that when I open the new window, this new window is no longer associated with the portal session.
    There must be a way to control this.
    Thanks for your help.
    Best regards,
    Paulo Ruivo

    Dhruv,
    The link page is a BPS iView.
    The link to the BSP page is the full url of the BSP page.
    Should i use the EPCM class to do this navigation?
    Regards

  • Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started. How do I set FF back to open tabs in 1 window

    Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
    There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
    Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
    Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.

    as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...

  • Problem with new firefox tabs and window focus

    Here's a problem that I've had for ages - sometimes it annoys me, other times I can live with it. Right now it's really p***ing me off.  :x
    I have selected 'a new tab in the most recent window' under FF's Preferences->Tabs->Open links from other applications in:, so as an example, if I click on a URL in a mail in Thunderbird, Firefox opens it in a new tab. However, window focus stays on Thunderbird. I run both of them full screen, so although I'm looking at the web page in Firefox, anything I do on the keyboards affects Thunderbird. It affects URLs opened from other apps too e.g. if I open a terminal and do
    firefox www.archlinux.org
    focus stays on the terminal window. The only exception is when firefox is not already running - in that case, firefox launches with focus.
    DE is xfce4, and the system is completely up to date.
    I've done some googling, and AFAICS, nobody else seems to have this problem. Any ideas, anyone?
    TIA.

    Thanks MAC!EK - definitely a useful add-on, but it still doesn't solve my problem. In Tab Mix Plus Options, I have the following selected:
    Links -> Open links from other applications in: New tab
    Events-> Tab Focus -> Focus/Select tabs  that open from: <all>
    However, the behaviour is as before i.e. I click a URL in Thunderbird, it opens in a new tab in Firefox, but window focus stays on Thunderbird. Within Firefox, the newly-opened tab is selected or focussed, but Firefox itself is not.
    Anyway, thanks again. I think I need to keep looking.

  • How can I create a new partition to install Windows 7 by not using Bootcamp

    How can I create a new partition to install Windows 7 by not using Bootcamp?

    If you want to dualboot you have to use boot camp i think. I think you have already a full disc and cannot make another partition I'm I right?
    Your question seems a bit blurry so I'm giving you a general tip here.
    If you want to just try the beta you can always use Sun's "Virtualbox".

Maybe you are looking for