Is there a bug in implementation of RequestDispatcher with sessions?

Hi,
I have two applications, one that contains /stest1/test1.jsp, the other that contains /stest2/test2.jsp. In test1.jsp I set the attribute "stest1-attribute" in the session. Then I get the context of /stest2, include /test2.jsp, and then see if I get the "stest2-attribute", which is set in /test2.jsp. I end up getting "stest2-attribute" but it seems to be I shouldn't since where I set that attribute is in an entirely different web context. Is there a bug here?
/stest1/test1.jsp
========================================================
<html><body>
Beginning test in /stest1/test1.jsp. Including JSP page /stest2/test2.jsp
<p>
<%
out.flush(); // must flush before include
ServletContext ctx = pageContext.getServletContext();
ServletContext parentCtx = ctx.getContext("/stest2");
session.setAttribute("stest1-attribute", new String("stest1-only"));
RequestDispatcher rd = parentCtx.getRequestDispatcher("/test2.jsp");
rd.include(request, response);
String s2 = (String) session.getAttribute("stest2-attribute");
if (s2 != null)
out.println("<b>*** ERROR - should not see stest2-attribute in web application stest1</b>");
else
out.println("Correct - no stest2 attribute visible in stest1");
%>
</body></html>
/stest2/test2.jsp
========================================================
In included page /stest2/test2.jsp.
<%
if (session.getAttribute("stest1-attribute") == null)
out.println("<p>Correct - stest1-attribute should not be visible here");
else
out.println("<p><b>*** ERROR - should not see stest1-attribute in web application stest2</b>");
session.setAttribute("stest2-attribute", new String("stest2-only"));
%>

What I discovered was that the main WLAN was mapped to the management interface, and AP Group was overriding the setting.  However, what I found was a lot of access points never got assigned to the AP Group, so they were sitting in the default group and I can only wonder what the service was like with "holes" in the coverage on the main WLAN that is meant for production.
Moving forward, I think I will replace this Farm with a 5508 and use an interface group on the main wlan and do away with the ap groups.  That way, an AP can boot up and be in the default group and will work..That way technicians don't have to remember what ap group to configure, etc.

Similar Messages

  • MeasureExpression property - Is there a possibility to implement distinct count with exclude empty?

    I have a measure which needs to have distinct count aggregation with exclude empty.
    Is there a possibility to specify MeasureExpression property to achieve the same? I have set the aggregation of the measure to none and I have typed the following function,
    Count(Distinct(Column_name),EXCLUDEEMPTY)
    where as the measure reads 0(zero) upon processing. Is there any other way to achieve this?
    The data feed has nulls included too for the column which this is to be achieved, which cannot be modified in the data level.
    Regards,
    Kantha Girish

    Hi Kantha,
    According to your description, you want to implement the distinct count aggregation, right? In this case, we can use a query like
    count(nonempty([DimName].[HierarchyName].[LevelName].members,[Measures].[MyMeasure]))
    Here are some blogs about how to implemet distinct count aggregation, please refer to the link below.
    http://blog.sqltechie.com/2009/09/distinctcount-analysis-service.html
    http://richardlees.blogspot.com/2008/10/alternative-to-physical-distinct-count.html
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software.  Is there a bug in the iPod program?

    If you have the first gen ipod touch as your information shows, then you would have to buy a software update:
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)

  • My JPEGS are no longer being copied over to Finder.  Only a random fraction are copied.  It use to work perfect.  Is there a bug in the updated versions of iPhoto?

    My JPEGS are no longer being copied over to Finder.  Only a random fraction are copied.  It use to work perfect.  I can move them 4 or 5 at a time, but it is very time consuming.    Is there a bug in the updated versions of iPhoto?

    OK - here is what I've done in the past.  As I want to be able to save my photos on  a DVD that can be read by both a PC and a Mac, I am burning them in Finder.  I start by downloading into IPhoto.  I'll flag and edit the ones I want to print or post to the web.  After that I want to take all the keepers and move them from IPhoto to various files I create in the document  section of Finder.  I've done it both ways in the past, copy and paste or just drag over, all the files would transfer over.  Now there may be dozens of pictures that do not move over - very random, in one case there were only 6 photos and the 3 vertical ones did not copy over.
    I'm wondering if this is a software issue or if there is just too much data being moved around.  FYI there are 2 Nikon cameras I use and the files from both do this.
    Thanks

  • After updating to IOS 8.0.2 on my IPAD2 s Prorked great with last IOS version. Is there a bug fix?

    After updating to IOS 8.0.2 on my IPAD2, I cannot print to my Samsung Wireless Printer. It worked great with last IOS version. Is there a bug fix?

    Try this:
    1. Turn the router, iPad and printer off
    2. Turn on the router and then wait 30 seconds
    3. Turn on printer and then wait 30 seconds
    4. Turn on your iPad and test print.

  • Numbers Sort function. In Numbers 09 there was 'rearrange' which worked perfectly. New Numbers 13 has Sort by column but I can't get it to work. is there a bug?

    In Numbers 09 there was 'rearrange' which worked perfectly. New Numbers 13 has Sort by column but I can't get it to work. is there a bug?

    Numbers '09 has a Reorganize panel and the top section of that panel is for sorting. Numbers 3 also has the ability to sort and it works.  However, Numbers '09 and Numbers 3 sort differently.
    In Numbers '09, if you had a formula such as =Table 1::A1 and if a sort of Table 1 moved cell A1 to A20, the formula would change to =Table 1::A20. In Numbers 3, the formula would stay =Table1::A1.

  • Hi. Whenever I go through one of the menus in firefox, the links remain highlighted after my mouse passes over them. Is there a bug fix for this or is there something wrong with my computer? I am running windows 7 if that helps.

    Hi. Whenever I go through one of the menus in firefox, the links remain highlighted after my mouse passes over them. Is there a bug fix for this or is there something wrong with my computer? I am running windows 7 if that helps. This problem started ever since I upgraded to version 5.

    I have downloaded and used the iPod Reset Utility, alot that did. My current state is iTunes on my XP Home with SP3 sees the iPod. When I drag a song to the iPod, the Sync message appears for about 5 minutes, then the Apple symbol appears. But no song has been transferred to the iPod.
    I tried to tap into the XP iTunes database from my iBook, but although it acted like it would add the XP library to the iBook library, it did not. I've got 19 Gs of songs on the XP. If I have to load each song from its original CD to get it on my iBook I'm going to start looking for some other app or device so that I can listen to my music.
    It is a shame, in the old days, Apple techs use to look at what was going on, now it appears they don't, so they never know they have problems until Apple's profits fall.

  • How to implement Spring Web Flow in CQ5 or is there any module to implement it in CQ5

    How to implement Spring Web Flow in CQ5 or is there any module to implement it in CQ5

    Hi,
    Thanks for your suggestion..
    I tried using the "Services for Object"  option and i was able to upload a document. But when i try to view the document in PO display ME23N, by clicking the Icon as you mentioned the attached document is not displayed.
    Only when i go in Change mode ME22N and select "Service for Object" i get the documents displayed. What is the way to get the document displayed ?
    Regards,
    Hemant

  • Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    As you are asking about it, looks like you do see a problem. So if googling does not provide a solution, you should describe the issue in detail so we can try to help out.

  • Is there a bug in the new photoshop CS6 13.0.1.1 update? (Mac OS 10.7.5)

    Since installing the latest update of photoshop CS6 13.0.1.1, (Mac OS 10.7.5, iMac late 2009) I have noticed the following problems: when I double click on the panels bar, the panel does not collapse, I have to right click on the bar to get the panel to collapse.  Withe the curves adjustment layer, command clicking on the image does not register the point on the curve and command shift click will not set a point on the curves. this is all happening since the upgrade. Is it me or is there a bug in the update?
    Thanks in advance

    Thanks M, you're right, I do have 13.0.1, it's just for some reason ive noticed some strange behavior in photoshop, can't figure out why. I still can't get my panels to collapse when double clicking the bar and the curves adjustment layer doesn't allow me to place a point using the eyedropper tool when clicking on the image, this has just recently started after reinstalling photoshop on my imac using the creative cloud application manager

  • Is there a Bug or Bug Fix in iPlanet 4.1 for URL Forwarding???

    Here's the issue...
    We are forwarding a number of URL's from one website to another.
    When we create these under the iPlanet Web Server Admin UI, the URL's appear, and get written to obj.conf, and the Web Server appears to "Save and Apply" the changes, effectively restarting the Solaris Process ID.
    The problem is that the httpd process does not actually restart, and the URL forwards return a 404.
    If we manually restart the Web Server daemon, everything appears to funtion properly.
    I have been searching through the iPlanet Knowledge Base, and not haveing any luck, so I am hoping someone here may have an idea.
    Thanks!

    Hi,
    Please let me know your iWS version including service pack(example:4.1sp7)and OS version. So that i can test it and let you know the feedback.
    Is there a Bug or Bug Fix in iPlanet 4.1 for URL Forwarding???
    yes is there, but related to NSAPI please check the below link.
    http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#26930
    Thanks,
    Daks.

  • Is there a bug in the as3 tween class

    Is there a bug in the as3 tween class that causes tweens to stop before completing. I read that there is and that a 3rd party tween class should be used. I'm just starting out learning as3 and experimenting but this would be good to know when I move onto more complex projects.
    Also the solution for this was to make your function global. Does this simply mean place your function in the top level of your movie.
    I have done research on this topic but I found many conflicting answers.
    Any assistance is welcome thanks in advance.

    the tween declaration (if you need one) must be placed within the scope of the function.  so, if the below function f() is defined in a movieclip, you can use any of the 3 (but don't use the last):
    ///////// most common use ////////////////////////////////////////
    var t:Tween;
    function f(){
    t=new Tween(...)
    /////// next most common use /////////////////////////////////////////
    //no declaration needed because the tween is not referenced anywhere outside the function so need not be assigned a variable
    function f(){
    new Tween(...)
    /////////// least common, not good coding, but possible ////////////
    // var t:Tween;  // declared on the root timeline, for example
    function f(){
    MovieClip(root).t=new Tween(...)
    p.s.  please mark correct/helpful answers

  • Is there a bug in the latest iOS7 operating system update

    is there a bug in the latest iOS7 operating system update

    iOS 7 and System 7 are not the same.  System 7 refers to the operating system on Macs from 1991 to 1996.
    I've requested this thread be moved.

  • I have to keep turning on an off the wi-fi connection to connect to my network after system shutdown with mountain lion, I did not have to do this with 10.6.8 before I upgraded, is there a bug fix in the works?

    I have to keep turning on an off the wi-fi connection to connect to my network after system shutdown with mountain lion, I did not have to do this with 10.6.8 before I upgraded, is there a bug fix in the works?

    Many have posted this fix:
    Go to System Preferences > Energy Saver > Computer Sleep ... set to anything greater than the 15 min. default setting.

  • Since moving to Maverick and the new updated of Keynote, I have a constant problem when typing in a text box, the program crashes. Is there a bug fix for this. Drives me nuts.

    Since moving to Maverick and the new updated of Keynote, I have a constant problem when typing in a text box, the program crashes. Is there a bug fix for this. Drives me nuts. Like many who can type quite quickly but at secretarial level, the text box freezes, nothing works and you know what's coming...crash!
    This is most annoying. Is there bug fixes for this. Apparently I have the current updates and this problem still exists. Is it a Maverick bug or Keynote.
    Barry

    How did you install Mavericks, as an update ontop of the previous OS or did you wipe the drive and install clean?

Maybe you are looking for