A bizarre behavior when include %@ session="false" %

In weblogic8, suppose you have a.jsp and it has a line <%@ session="false" %>. Then the generated jsp_servlet file for this will not have session. It will have something like the following:
          javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, false, 8192, true)
          // NO HttpSession: page has session="false" directive.
          However, if you put the line <%@ session="false" %> in another file b.jsp, and you let a.jsp to include b.jsp, the generated jsp_servlet file for a.jsp will have session. You will have something like the following:
          javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
          javax.servlet.http.HttpSession session = request.getSession(true);
          What is wrong here? It should be the same as in the first case. This behavior actually cause some errors for some jsp programs. Weblogic9 does not have this problem. I found this problem when I upgrade weblogic8 to weblogic9.

I tried to back out the convertors then jCreator detected correctly number of rows updated. My guess is jCreator did not convert the fields before compare ?
Another issue raised with my test:
If I update row or row(s) on 1 page then the update works but if I stay on the same page and make other updates then it did not detect updates like I did nothing. So if I want to update the same page 2 times then I have to go to another page and go back to update again�Is it reasonable or I missed something ?
Thanks.

Similar Messages

  • 10.5.8 bizarre behavior when ripping CDs

    After upgrading, when I import my CDs, many tracks are ripped for only a couple of seconds. Other tracks are correct and still others will be skipped when you try to play them back and these all show a track ending time of 789:57:13.152. This has happened with over 5 commercial CDs. Import setting is AAC iTunes Plus. Have also shut down and tried importing again - same result. When I try with MP3, I get the same result, except instead of track time being 789:57:13.152, it lists "Unavailable" Very weird - in 8 years of using iTunes have never seen anything like this.

    1: all correct
    2: seems to be fine for everything else
    3: cd's new and previoulsy played and clean
    4&amp;5: how do I do these last two items
    Any other advise. I have run disc utilities and permissions over the hard drive and tried a separate log in with no effect

  • Bizarre Behavior Award...Need help!

    I recently installed Lightroom V1.3 on my Vista x64 system and this is weird.
    Whenever I turn off my monitor (30" Dell) and then turn it back on, Lightroom starts up!!!
    The monitor has some card slots on the side for downloading images and is connected to a USB port on my computer, but the card slots are empty.
    How can this be fixed so that it isn't starting up like that?
    Do I get the Lightroom Bizarre behavior award or what?
    Best guess: Lightroom also starts up whenever I plug in my CF card into the side of the monitor. It doesn't try to hijack the downloading process, it just starts up. I don't do all my processing in Lightroom, so how do I turn off the automatic downloading of files including all the deepest levels so that it actually is really turned off?
    Thanks

    Hi Charlie,
    The 30" monitor is great for Lightroom. It is great in general for Photoshop and CAD. I have it cranked up to the highest res (2560 x 1600) so web browsing is odd with it only using maybe 20% of the screen ;~) It's a bit on the bright side making it more challenging to calibrate properly. Also, in the fine print, Dell does not warrant the monitor unless you buy it with a Dell system! The good news is that the price has dropped significantly; I paid about $2k for it and now it is more like $1,300 ish.
    Keep in mind if you get the monitor you need a killer graphics card with Dual DVI. I got the ATi FireGL with 1Gb of RAM. The graphics drivers for Vista have caused some bizarre conflicts.... Unless I unplug my smartphone via USB cable, Vista will reboot to a black screen with a blinking cursor. ATi denies that there is any issue, but a tech support session with Microsoft proved it. Now I need to buy a new smartphone to synch with Outlook...
    We seem to live in the era of BETA products released before they are ready for prime time.

  • Bizarre behavior of a View Criteria for a View Object

    Hey,
    I remarked quite a bizarre behavior of the View criteria that I created for my view object, using bind variables.
    lets say I have the generated query in the View object:
    SELECT Paquet.ID,
    Paquet.WEIGHT,
    Paquet.VALUE,
    Paquet.ORIGIN,
    Paquet.DESTINATION
    FROM PAQUET Paquet
    I want to use the executeWithParams with bind variables for this View object.
    I create a bind variable:p_o
    I create the View Criteria vith the visual editor that generates an additional view clause:
    ( ( ( Paquet.ORIGIN LIKE ('%' || :p_o || '%') ) OR ( :p_o IS NULL ) ) )
    test query works and explain plan as well.
    Now, when I execute the view object on a page with the bind variable properly set, I get the error: java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: p_o
    Then I copy the where clause generated by view criteria visual edito directly to the query and delete the View Criteria, and it ALL WORKS FINE
    If has to work like that, then what is the View Criteria useful for? I still think that there is a problem.
    Thanks!
    Taavi

    Hi,
    ViewCriterias are not accessed with ExecuteWith Params. For this the bind variable needs to be in the where clause. Named ViewCriterias are listed separately in the DC list
    Frank

  • Behavior when typing 'Enter' in h:inputText

    I am seeing the following behavior:
    When a user types the 'Enter' key when a h:inputText has focus, the page seems to behave as if the user clicked the first button added to the page. (In my case this is a 'Cancel' button that clears data and causes navigation to another page. Many users are used to hitting 'Enter' when the have finished inputting text - so the 'Cancel' behavior would not be a pleasant suprise.)
    My questions are:
    1) Is this supposed to happen when 'Enter' is typed in a h:inputText?
    2) Can I change this and how?
    3) I would like it so hitting 'Enter' does nothing (better would be to move to the next h:inputText) Can this be done and how?
    Any info regarding these specific questions or generally how key interactions work with jsf/Creator would be appreciated.

    You can do this using JavaScript:
    Specify the onkeypress of the inputText like this:
                                    <h:inputText binding="#{Page1.tfSearchString}" id="tfSearchString" onkeypress="return onEnterSubmit(event);" value="*" valueChangeListener="#{Page1.tfSearchString_processValueChange}"/>The in the head part of your page, add the following javascript:
                    var ie4 = false;
                    if(document.all) {
                        ie4 = true;
                    function onEnterSubmit(event) {
                        if (ie4) {
                            if (window.event && window.event.keyCode == 13) {
                                document.forms['form1']['form1:btnRefresh'].focus();
                                document.forms['form1']['form1:btnRefresh'].click();
                                return false;
                            else
                                return true;
                        else
                            if (event && event.which == 13)
                                document.forms['form1']['form1:btnRefresh'].click();
                            else
                                return true;
                    }This assumes you have btnRefresh as the name of the submit button, and you want it clicked on enter key press. Else just comment out the part with the .click()/focus() to prevent any action on Enter key press.
    Also, you can focus on any other textField in the page with the enter by replacing the click()/focus lines() with document.forms['form1']['form1:tfName'].focus()

  • AppleScript - Show/Hide dock when ScreenSharing Session starts/ends

    Hello,
    I'd love to have an Apple Script that shows me my Dock when a screen sharing Session starts, and hides it again when the session ends. And it should do this automatically
    Is there a way to achieve that????
    Thanks a lot

    you can do it as follows.
    download and install DoSomethingWhen
    http://www.azarhi.com/Projects/DSW/
    then paste the following into AppleScript Editor
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "System Events"
    tell dock preferences
    set autohide to false
    end tell
    end tell</pre>
    save it as an application. then make a rule using DoSomethingWhen to run the above application whenever ScreenSharing launches. ScreenSharing.app is located in /System/Library/Coreservices
    then make another rule for when screen sharing quits (change false to true in the above script for that one).

  • Practise of session="false"

    Some years ago, I learnt one of "the best practises of JSP programming" was to have the <%@ page session="false"%> in every single JSP file in a MVC application. I am currently running into a problem with this practise, however.
    In my MVC application, I use the Tiles from Struts to put together screens. I have the statement in every JSP files which are components of those screens. From time to time, I am prompted back to the default page after accessing the first page or so of the web site. I can resolve this undesired situation by removing the statement from one JSP.
    Now, I am wondering whether I shall remove the statement from all JSP files or I shall keep it in certain JSP files.
    Any thought?

    Hi BalusC,
    the reason is:
    We offer our WebApp both for http and https. In our WebApp we integrate an external applet. We can parametrize this applet with a URL that is opened when clicking a certain button. The URL points to a page in our WebApp, i.e. http://www.ourserver.com/page_without_session... or to https://www.ourserver.com/page_without_session... . The applet is in one point erroneous: It cannot open https links (for what reasons ever). So we parametrize the applet with the http-link.
    Now, the user logins via https, a new Session (say, S1) is created, and the browser stores a Cookie that is only valid for SSL connections(!).
    The user clicks the button and a new window http://www.ourserver.com/page_without_session... is opened.
    By this request, a new session is created (S2) and a new Cookie is stored in the browser, overwriting the Cookie valid for https. So, the user's can not go on working in the WebApp, because the previous Cookie for S1 is lost.
    We could replace the applet button by our own commandButton - but this would be a bad workaround, for the user can still click the applet button and would be kicked out of S1.
    Another possibility is to try to get a fixed version of the applet...
    Could I make myself somewhat clear?
    regards,
    Jan

  • Redirect to main jsp when the session expires

    Hi,
    I have a jsp say mainframe.jsp in which I have two frames each having a jsp page say child1.jsp and child2.jsp.
    When the session expires and I when i try do any changes in child2.jsp or child1.jsp, the page redirects to login page and when I login successfully, I am getting redirected to child2.jsp or child1.jsp respectively. But I want it to be redirected to mainframe.jsp.
    Any help is greatly appriciated.
    Thanks in advance.
    Vinod

    I think I am not clear.
    When I try to login after session expiry, I am redirected to child jsp.
    But what I want is that I should be redirected to mainfram.jsp page.
    url in the address shows : ../mainframe.jsp?ID=******
    When my seesion is expired and I try do some manipulation in child1.jsp (which is inside a frame of my mainframe.jsp). it is redirected to login page and from there to child1.jsp instead of mainframe.jsp
    Now the address url shows : ../child1.jsp?ID=********* because of which I am not able to see child2.jsp along with child1.jsp
    What I want : ../mainframe.jsp?ID=********
    this is the code I am using !!
    String destPage = request.getRequestURI();
    response.sendRedirect("../redirect.jsp?dest=" + URLEncoder.encode(destPage));

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • Error when Create Session Bean in JDeveloper

    Hi All,
    I followed the steps in the SRDemo tutorial to create Session bean SRPublicFacade. I used Create Session Bean wizard. Step 1 was ok. Step 2 when it's supposed to show all the POJOs and all methods (from Queries) it hang there, and skipped to Step 3 and so on... As a result I had an empty Session Bean with only class name and no methods in it. I do have correct database connection, and I have another project with similar Session Bean sucessfully. I just don't know what happened to this project or the way I created session bean this time. Any conflict when create Session Bean to the same database or something(?) Anyone has any idea please let me know.
    Thank you very much,
    John

    Frank,
    Yes, I compiled the project before building the session facade. I used JDeveloper 10.1.3.3.0
    The thing is I once created successfully the session facade in another project, like SRdemo. Now I would like to repeat that in another project say SRdemo2, then it went wrong. It skipped step 2 in the wizard and look like it cannot detect the tables and named queries.
    Thanks,
    John

  • Strange behavior when I try to match a mpeg2 video with the menu size image

    hello all,
    got a strange behavior when I try to match a mpeg2 video with the menu size image,
    menu size is 1920 x 1080 (photoshop file)
    mpeg2 video 1920 x 1080 (1second 19 frames)
    the idea is to go from the menu link to the next sub menu with a video as transition, using the same image on the video as the menu and then zooming in (in my case through a door) to end up after the zoom in the next level menu.
    I try to achieve a smooth change from the first play menu picture to the video image into the next level menu picture,
    everything works good but when I watch it on the preview mode on the left and right side of the video it shows a black bar at least 15 to 25 pixel wide, that means the video image appears smaller and it causes a little jump what is preety disturbing and can not be sold as a professional work.
    why encore treats the video size and picture differently?
    it's gratful appreciated if somebody who got experience in a transition I mentioned obove posting any solution,
    thankl you all

    Hi all
    I'm having a very similar problem with Encore. My menu items are distorting (a minor but infuriating squashing top and bottom) when previewed.
    Using Encore,PS,AE CS4
    DVD format SD PAL DV widescreen
    I created 3 menu frameworks and 3 video transistions to link them in AE. On the final frame of each transistion in AE I saved the frame with Composition>Save Frame to> Photoshop Layers. In PS i added the button functionality and saved.
    In Encore I use Dynamic link to import AE transistions as timelines and imported each PS menu twice, once as "menu" and once as an asset.
    When I link the timeline transistions to the menu and preview at the point the menu begins the whole image is squashed. When the next transistion is activated the image returns to its original size.
    Thinking it was the use of PS that was causing the menus to distort I used the menu asset directly in the time line. Obviously no menu functionality but also no distortion. The AE transistion flowed straight into the "menu" just as I expected.
    In the properties panel the menu Aspect Ratio 16:9
    The AE transistions PAR is SD PALwidescreen 1.4587.
    I did try the Blu Ray suggestion above but the same distortion was apparent.
    Any suggestions short of squashing the video to match the menu would be welcomed.
    Thanks

  • How do I close a connection when the session ends?

    I have a website that is using JavaMail to display a user's mail through the browser. I'd like to keep the connection to the mail server open during the whole session that the user is logged in, in order to improve response time. The problem is, I can't detect if a user closes their browser so that I can close the connection to the server.
    Is there a way for me to close the mail server connection when the session ends?
    Thanks.

    Create session listener, Impliment sessionDestryoyed
    method with your connection close statements.I was wondering how to use the listener for a Servlet as well, what would you type in that method to close the connection?.
    public class ServletListener
         implements
              ServletContextListener,
              ServletContextAttributeListener,
              HttpSessionListener,
              HttpSessionAttributeListener
    public void sessionDestroyed(HttpSessionEvent arg0)
              //System.out.println( arg0 );
    }

  • Delete memory Id when the session is still active

    Hi all,
    Can anyone tell me how to clear the Memory Id when the session is still active.
    I am getting the amount value through Memory Id from import and export parameter when I am posting the check. Again if I reprint the check without closing the session the amount value is getting double evertimes.
    If I delete from Memory Id I am not able to see any amount value while posting for first time.
    Can anyone suggest me how to proceed further.
    Regards
    Yathish

    Looks like you are not clearing the variables before and after that logic. Clear them and try.
    Let us if you are doing that or not.
    Rgds,
    Naren
    Message was edited by:
            Someneni

  • [svn] 2692: Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out .

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

  • How to make the changes to be permanent when a session is executed successfully ?

    Hi Everyone,
    I am new to ODI.
    I am learning how to create interfaces for the data flow between two Oracle databases !
    Now I started by developing a simple interface of loading data from EMPLOYEES table of HR schema to another table created by me EMPLOYEES_TGT in the same schema.
    When I dragged and dropped the source and target tables in the mapping tab it showed do you want to map automatically. I selected Yes and then When i executed the project I got errors and I have manually changed the code in the session. One session is executed correctly after changing the code in the sessions, when I start the same project once again it is throwing the same errors. How can I make the changes of the code that I changed in the previous session permanent to that interface ?
    Could anyone please guide me how to overcome this problem ? How can i make the changes permanent when one session has completed execution ?
    Thanks& Regards,
    Anvesh

    Hi Raghunar,
    The following is the code generated by default with the interface:
    insert /*+ append */ into HR.I$_EMPLOYEES_TGT
      EMPLOYEE_ID,
      FIRST_NAME,
      LAST_NAME,
      EMAIL,
      PHONE_NUMBER,
      HIRE_DATE,
      JOB_ID,
      SALARY,
      COMMISSION_PCT,
      MANAGER_ID,
      DEPARTMENT_ID,
      IND_UPDATE
    select
    EMPLOYEE_ID,
      FIRST_NAME,
      LAST_NAME,
      EMAIL,
      PHONE_NUMBER,
      HIRE_DATE,
      JOB_ID,
      SALARY,
      COMMISSION_PCT,
      MANAGER_ID,
      DEPARTMENT_ID,
      IND_UPDATE
    from (
    select 
      EMPLOYEES.EMPLOYEE_ID EMPLOYEE_ID,
      EMPLOYEES.FIRST_NAME FIRST_NAME,
      EMPLOYEES.LAST_NAME LAST_NAME,
      EMPLOYEES.EMAIL EMAIL,
      EMPLOYEES.PHONE_NUMBER PHONE_NUMBER,
      EMPLOYEES.HIRE_DATE HIRE_DATE,
      EMPLOYEES.JOB_ID JOB_ID,
      EMPLOYEES.SALARY SALARY,
      EMPLOYEES.COMMISSION_PCT COMMISSION_PCT,
      EMPLOYEES.MANAGER_ID MANAGER_ID,
      EMPLOYEES.DEPARTMENT_ID DEPARTMENT_ID,
      'I' IND_UPDATE
    from HR.EMPLOYEES   EMPLOYEES
    where (1=1)
    ) S
    where NOT EXISTS
      ( select 1 from HR.EMPLOYEES_TGT T
      where 
      and ((T.EMPLOYEE_ID = S.EMPLOYEE_ID) or (T.EMPLOYEE_ID IS NULL and S.EMPLOYEE_ID IS NULL)) and
      ((T.FIRST_NAME = S.FIRST_NAME) or (T.FIRST_NAME IS NULL and S.FIRST_NAME IS NULL)) and
      ((T.LAST_NAME = S.LAST_NAME) or (T.LAST_NAME IS NULL and S.LAST_NAME IS NULL)) and
      ((T.EMAIL = S.EMAIL) or (T.EMAIL IS NULL and S.EMAIL IS NULL)) and
      ((T.PHONE_NUMBER = S.PHONE_NUMBER) or (T.PHONE_NUMBER IS NULL and S.PHONE_NUMBER IS NULL)) and
      ((T.HIRE_DATE = S.HIRE_DATE) or (T.HIRE_DATE IS NULL and S.HIRE_DATE IS NULL)) and
      ((T.JOB_ID = S.JOB_ID) or (T.JOB_ID IS NULL and S.JOB_ID IS NULL)) and
      ((T.SALARY = S.SALARY) or (T.SALARY IS NULL and S.SALARY IS NULL)) and
      ((T.COMMISSION_PCT = S.COMMISSION_PCT) or (T.COMMISSION_PCT IS NULL and S.COMMISSION_PCT IS NULL)) and
      ((T.MANAGER_ID = S.MANAGER_ID) or (T.MANAGER_ID IS NULL and S.MANAGER_ID IS NULL)) and
      ((T.DEPARTMENT_ID = S.DEPARTMENT_ID) or (T.DEPARTMENT_ID IS NULL and S.DEPARTMENT_ID IS NULL))
    I modified the code to the following :
    insert /*+ append */ into HR.I$_EMPLOYEES_TGT
      EMPLOYEE_ID,
      FIRST_NAME,
      LAST_NAME,
      EMAIL,
      PHONE_NUMBER,
      HIRE_DATE,
      JOB_ID,
      SALARY,
      COMMISSION_PCT,
      MANAGER_ID,
      DEPARTMENT_ID,
      IND_UPDATE
    select
    EMPLOYEE_ID,
      FIRST_NAME,
      LAST_NAME,
      EMAIL,
      PHONE_NUMBER,
      HIRE_DATE,
      JOB_ID,
      SALARY,
      COMMISSION_PCT,
      MANAGER_ID,
      DEPARTMENT_ID,
      IND_UPDATE
    from (
    select 
      EMPLOYEES.EMPLOYEE_ID EMPLOYEE_ID,
      EMPLOYEES.FIRST_NAME FIRST_NAME,
      EMPLOYEES.LAST_NAME LAST_NAME,
      EMPLOYEES.EMAIL EMAIL,
      EMPLOYEES.PHONE_NUMBER PHONE_NUMBER,
      EMPLOYEES.HIRE_DATE HIRE_DATE,
      EMPLOYEES.JOB_ID JOB_ID,
      EMPLOYEES.SALARY SALARY,
      EMPLOYEES.COMMISSION_PCT COMMISSION_PCT,
      EMPLOYEES.MANAGER_ID MANAGER_ID,
      EMPLOYEES.DEPARTMENT_ID DEPARTMENT_ID,
      'I' IND_UPDATE
    from HR.EMPLOYEES   EMPLOYEES
    where (1=1)
    In the same way for other steps in the same session I got some errors and I fixed them by changing the code. But the problem is that where can I change this so that it will be a permanent solution.
    Thanks,
    Anvesh

Maybe you are looking for

  • Day/week/Month is gray

    all buttons or tabs in the gray bar (including today/next day/week/month) are gray and can't be selected. how do i enable them?

  • What is the best way to store data to a file? Serialization?

    FYI: I am some what of a novice programer. I have almost finished my degree but everything I know about Java is self taught (never taken a course in java). Any way here is my question. So I have an example program that I have created. It basically ju

  • Problem in starting the default server in Application Server 9.1

    Hi, I was new to this Java EE topics. So as a beginner i started installing Java Application Server 9.1. Upon installing it I began to Start Default Server. It started well. i STOPPED DEFAULT SERVER .Even that worked like a charm. I installed netbean

  • 2 downloaded movies that will not play because I do not have the right screen?

    no warning when I purchased these movies. now, when I want to play them "This movie can be played only on displays that support HDCP (High-bandwidth Digital Content Protection)." This is apple BS..

  • Passing a List  in RQL Query

    Hi, Can any one guide me how to pass a list in a RQL Query. If not possible Can you suggest me some other ways to do it. Need to write a string query similar to the below mentioned select COST, SUM(_CNT)from cost_details where aaa IN(?) group by COST