Load event on page startup

I have a page that I don't want t o display unless there is a customer session object. If there is no customer session object, I want to redirect the user to a login page. How can I do this in jsf when the page loads?
Thanks!!

Non-JSF solution (bad solution):
<% if (session.getAttribute("..")==null) { %>
<jsp:forward page="login.jsp"/>
<% } %>
JSF solution
JSP1.jsf:
<h:commandButton value="Go" action="#{bean1.action1}" immediate="true"/>
public class SomeBean {
public String action1(){
if (!FacesContext.getCurrentInstance() .getExternalContext().getSessionMap().contain("something")) {
return "goToLoginPageFirstKey";
} else {
return "success";
Regards,
Oleksa Stelmakh

Similar Messages

  • Crash when calling Clipboard.GetContent() in Page Loaded event

    Hello
    I found a crash when using
    Clipboard.GetContent() method ,
    the steps to reproduce this are very simple:
    -create C# Windows store application ,
    -add loaded event for main page
    -call Clipboard.GetContent()  inside it(loaded event handler).
    -run the application as release Ctrl+F5 , the application will crash , note that when you run as debug no problems
    -this problem appears not on GetContent() only , it appears when you use any method of ClipBoard class indside main page loaded event.
    Is this bug? , if yes , what is the workaround for this.

    Hi shaker,
    Firstly, I have to say that, yes, I can reproduce your issue on my side.
    However, as far as I know that the Clipboard operations are used to enable users to cut, copy, and paste data, but why you just call the Clipboard.GetContent() method in the Grid_Loaded event? Could you please show me more information
    about your requirement so that I can better understand your scenario?
    Thanks.
    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Page load event

    I'm new to JSF and am looking for something equivalent to the OnPageLoad() event that exists in the ASP.Net world. Basically I want to do some initialization code, maybe prep some variables to be bound to controls, etc.
    Does JSF expose an event that allows me to do this? I've read about an OnPageLoadBegin(FacesContext) event, but I tried putting code in there and placing a breakpoint - but the breakpoint never gets triggered.
    Thanks
    David

    From what I read in those links, there is a serious limitation to JSF in the fact that there is no true "page load" event.
    Consider the following example : We have a "main page" that asks a user to log in with a username and password. But if the user has been to the site before, we will store their login ID in a cookie so that when they come back, the "login" input field will be pre-populated with their info. Pretty basic and standard stuff so here.
    So I want a "page load" event where I can get the request cookie map, do a lookup on our cookie, and Set the value on the input field with the value of the cookie.
    Without a page-load event, I don't see how this is possible.
    Any suggestions/workarounds?
    TIA
    David

  • Page not loading - Events, To-do list, Notes

    Hi,
    I am having this error of not loading events, to-do list or notes pages. It gives me following message.
    "Sorry, we're having some problems bringing you this page. It's our fault not yours, so please try again later."
    I saw similar posts regarding this on this discussions forums. Some suggested solutions were to change browser agent and clear browswer cache.
    I already tried signin into Ovi using different browsers (FF, IE, Opera and Chrome) on different computers. I still get the same error message.
    Also, when I try to sync Notes to my Nokia N82, Phones gives me an error message "System Error". Device firmware is V 30.0.019.
    Anybody else get this error? Any solutions?
    Your help will be really appreciated since I have important information on my notes.
    Thank you.

    Did the problem appear just now or have you had it since beginning?
    Are you using any specific language or charactersin your devices or are they all in english?
    For me the cache clear has always helped but as you mentioned, you have already tried that. so it sounds like there is something wrong with your account? Did you try to contact Nokia?

  • Windows Server 2008 R2 - Won't load certain web pages - Happens in all browers - Won't do windows updates

    This server (Windows Server 2008 R2 Standard with SP1) is used to host thin clients as well as RDP sessions.  One morning the office is fine, they come back from lunch and all of the sudden they can't load certain web pages, such as adobe.com
    and pandora.com to name a couple.  This was roughly 3 days ago. 
    1.)  I have tried machines that are not connected to this server (not thin client or RDP), but are on the same network, they can load up any web page fine with no issues.
    2.) On the server I have tried Opera, Chrome, IE and Firefox, all have the same exact problem.
    3.) Tried different DNS servers just to be sure, even though it only effects the server and no one else.
    Based on these facts I know that it is something wrong with the server, but not tied to a specific brower.  In all browsers when you load up a page in question it just sits there with a blank screen trying to load, it never generates any errors. 
    The Event Viewer is also clean, no errors.  So with no errors I have had trouble trying to find a starting place for this.  Things I have tried:
    1.) ipconfig /flushdns to try and clear out any DNS issues
    2.) Changing the DNS servers for the server to 8.8.8.8 and 4.2.2.2
    3.) Scanning for Viruses and Malware/Spyware
    4.) Checking proxy settings on the server
    5.) Updating and then removing Adobe Flash (thought it was tied to flash at first).  Problem persists even with no flash player installed.
    6.) Completed a failed update of .net, no effect
    7.) Loading up browsers in debug mode to try and find anything in the site code that I could relate between failed sites.  I found nothing I could identify
    Of all issues to finally be stumped on this seems like an easy one, but I can't even begin to come up with an idea at this point. 
    I have tried to lay out all of the facts that I know as plainly as I can.  I am hoping that someone has seen this before as this issue is effecting a number of differnt users and keeping them from doing portions of their job.
    Help is most appreciated, thank you!

    I was able to figure out a solution.
    CAUSE:
    It appears that the Internet isn’t fully up to date and ready to use EDns -- which is enabled on Windows Server 2008 R2 by default. The solution for this is to disable Edns. Note that this isn’t
    a problem for most Windows Server 2008 R2 member servers.  It’s only a problem for DNS *servers* that do recursive lookups.  i.e. likely only your domain controller will be affected if that is where your DNS Server role exists.
    SOLUTION:
    To disable EDns, you can do it from the command prompt, or by editing the registry.
    Create a DWORD called EnableEDNSProbes and set to 0 in HKLM\SYSTEM\CurrentControlSet\services\DNS\Parameters
    Restart the DNS Server service for it to take effect.

  • Windows Server 2008 R2 - Won't load certain web pages

    Users are unable to access certain websites from either of our RDP session servers (Windows Server 2008 R2 Standard with SP1).
    1.)  I have tried machines that are not connected to this server (not thin client or RDP), but are on the same network, they can load up any web page fine with no issues.
    2.) On the server I have tried Opera, Chrome, IE and Firefox, all have the same exact problem.
    3.) Tried different DNS servers just to be sure, even though it only effects the server and no one else.
    Based on these facts I know that it is something wrong with the server, but not tied to a specific brower.  In all browsers when you load up a page in question it just sits there with a blank screen trying to load, it never generates any errors. 
    The Event Viewer is also clean, no errors.  So with no errors I have had trouble trying to find a starting place for this.  Things I have tried:
    1.) ipconfig /flushdns to try and clear out any DNS issues
    2.) Changing the DNS servers for the server to 8.8.8.8 and 4.2.2.2
    3.) Scanning for Viruses and Malware/Spyware
    4.) Checking proxy settings on the server
    5.) Updating and then removing Adobe Flash (thought it was tied to flash at first).  Problem persists even with no flash player installed.
    6.) Completed a failed update of .net, no effect
    7.) Loading up browsers in debug mode to try and find anything in the site code that I could relate between failed sites.  I found nothing I could identify
    Of all issues to finally be stumped on this seems like an easy one, but I can't even begin to come up with an idea at this point. 
    Help is most appreciated, thank you!

    Hi,
    Extension Mechanisms for DNS (EDNS0 as defined in RFC 2671) allow DNS requestors to advertise the size of their UDP packets and facilitate the transfer of packets larger than
    512 octets, the original DNS restriction for UDP packet size (RFC 1035).
    But this would cause drop packets because of some DNS servers or hosts don’t support this. This always causes some website inaccessible.
    Using Extension Mechanisms for DNS (EDNS0)
    http://technet.microsoft.com/en-us/library/cc785769(v=ws.10).aspx
    Nslookup, can you get the name resolved?
    In addition, try use IP address access the website and check the result.
    Hope this helps.

  • How to call Web Services (with javascript) in a view load event ?

    Hello to the expert community,
    I'm looking for a piece of javascript code allowing to call Web Services in a view load event ?
    Any ideas will be really appreciated.
    Regards.
    Have a nice week.

    Thank you for your answer, dongmei.
    It seems that the MethodResultTableDataProvider does not return the response of the web service as a value field if the WSDL contains only one result element.
    E.g. from WSDL of the USWeather Web Service which returns theGetWeatherReportResult string:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
          <s:element name="GetWeatherReport">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWeatherReportResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWeatherReportResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>If I drag the web service method on the page and I should be able to select the response value in the Bind to Data dialog box. But there is no value field. Value fields only occur if the web service returns more than one value.
    The question is how can I get the response GetWeatherReportResult from the service.

  • What are the options for integrating the event catalog and event landing pages in our website?

    We'd like to integrate the event catalog and event landing pages into our website but would prefer not to use the standard iframe embed code. Are there other solutions available, like an API or something else?
    Reason for this is that when we tried it with the iframe embed code the event catalog seems to load quite slow in a webpage on our website. Plus it seems we can't change the width and height of the event catalog with the CQ5 editor, or have the event catalog embed dynamically change in size depending on the amount of events in the catalog.

    Keeping everything in one scene is the better way to go.  Scenes are useful for animators who do not use navigation, they just make movies that play frame after frame without stopping.  But for anything that involves navigating the timeline you will have less headaches if you just avoid them and keep everything in the one main timeline.
    There are primarily two approaches to implementing pages in a timeline.  Either spread them out along the timeline and navigate from frame to frame to access them, or create them as movieclips (all in the same frame) and manage their visibility.  The latter approach makes it easier to maintain the status of a one page if navigating to another is necessary.  And you might find it useful to mix these two approaches at times.
    When you have everything on one timeline, you can have a layer dedicated to actionscript that you extend the full length of the timeline, which makes shareable code, such as variables and functions, available to anything along the timeline.  This avoids any need to have duplicate function definitions since you can have the same single function available to multiple pages in the site.  I usually use two actions layers... one for the shared stuff which has all code in frame 1 only, and another for frame specific code such as timeline commands and other action coding that needs to happen at particular frames.

  • Performance issue with loading Proclarity Main Page..

    Hi All,
    I have Proclarity 6.3 installed on a Windows 2008 R2 OS. The Proclarity Reports was working well until last week. From last few days I am seeing a slow response time in loading the Proclarity Main page. 
    Loading Proclarity Main page on Internet Explorer 8 is taking 150 seconds and the same Proclarity Main page is loading on Google Chrome in 30 seconds.
    Have any of you faced similar issue ? 
    Already below things explored
    1. Clear Cache on PAS Tool
    2. Event Viewer, Noticed if there is any error or warning
    3. Tried browsing the Proclarity URL from server itself ( still the performance is slow)
    4. Memory consumption validated on server side. MSSQLServer was consuming more space. Hence restarted /. After restart also same issue ( with loading main page in IE ONLY)
    5. Checked drive space .. All drives has minimum 1.5 GB of free space
    6. Cleared up Proclarity Event Logs 
    The issue is NOT ONLY with loading Main page.. Navigating to any further web pages in Proclarity STANDARD and PROFESSIONAL version is responding VERY slowly.
    The only other option, that I am thinking now is RESTARTING THE WINDOWS SERVER. Which may not be a easy deal SINCE ITS A PRODUCTION SERVER.
    But the loading of web page on Chrome is 30 seconds and on IE its 150 seconds ( i.e, 5 times more..) .. So does proposing to restart the server makes sense ? 
    Any help, suggestion , thoughts on what I am facing.. ? Thanks 
    Regards,
    Aravind

    <b>onInputProcessing for two pages</b>  
      DATA: event TYPE REF TO if_htmlb_data.
      event = cl_htmlb_manager=>get_event_ex( request ).
      IF event IS NOT INITIAL AND event->event_name = 'button'.
        navigation->goto_page( event->event_server_name ).
      ENDIF.
    page1.htm
      <%@page language="abap" otrTrim="true"%>
      <%@extension name="htmlb" prefix="htmlb"%>
      <htmlb:content design="design2003">
        <htmlb:page>
          <htmlb:form>
            <htmlb:button       text          = "next"
                                design        = "NEXT"
                                onClick       = "page2.htm" />
          </htmlb:form>
        </htmlb:page>
      </htmlb:content>
    page 2
    <%@page language="abap" otrTrim="true"%>
      <%@extension name="htmlb" prefix="htmlb"%>
      <htmlb:content design="design2003">
        <htmlb:page>
          <htmlb:form>
            <htmlb:button       text          = "Page 1"
                                design        = "PREVIOUS"
                                onClick       = "page1.htm" />
          </htmlb:form>
        </htmlb:page>
      </htmlb:content>
    above will work fine.
    another way :
    you can define a global variable in your application class and subsquently change its value according to your requirement as the name of the page
    and whenever you want to move to some page. jaust assign on onclick event of the button:
    navigation->goto_page(global_variable);
    where global variable is the variable you have defined.
    hope this works for you.
    if not reply
    regards,
    Hemendra

  • FF 16.0.2 won't load certain Shutterfly pages

    I'm running FF 16.0.2 on Mac OS 10.5.8 on two older computers and sometime after 5/7, FF 16.0.2 stopped loading any Shutterfly.com/lightbox page. I ran the usual Mac and troubleshooting steps - clean FF profile, different Mac user, etc. and even went so far as to take my laptop to a different network - it's definitely a FF 16.0.2 "thing." Safari and Chrome on the old computers will load the pages in question, as will FF 29 on my newer computer. When I run network diagnostics, there are a whole bunch of Shutterfly servers that show "TIME-WAIT" vs. connection "ESTABLISHED" when I load the problem pages in Safari. I tried disabling DNS Prefetching and IPV6 and switching my proxy connection from "no proxy" to "auto-detect proxy settings" - no joy. Shutterfly customer service is of no help. The CSR is not particularly tech-savvy and I suspect she gets penalized if she cannot "solve" the problem herself (meaning that if she doesn't know the answer, she makes something up and marks the case closed). Is there any about:config setting that I could fiddle with that might solve my issue?

    Thanks for offering to help.
    I used profile manager and the "default profile," which I keep "clean" (no add-ons, etc." to do my testing. (And I tried a different Mac "user" which has a FF profile with 0-few add-ons and a FF install on a different computer.)
    As far as I can tell anything starting with shutterfly.com/lightbox redirects to a sign-in page if you are not logged in, b/c "lightbox" controls access to your personal albums, so no public link.
    Is this what you meant by error console messages?
    Timestamp: 5/31/14 Sat, 5/31;4:04:02 PM
    Error: Error: declare: unknown base class. Did you use dojo.require to pull it in?
    Source File: http://cdn3.staticsfly.com/cncbundles/cncbundle.h357569121.js
    Line: 33
    Timestamp: 5/31/14 Sat, 5/31;4:04:02 PM
    Error: TypeError: dojo.back is undefined
    Source File: http://www.shutterfly.com/lightbox/view.sfly?fid=e34d31919bba7675f12f12eb75ef82b5
    Line: 418
    Timestamp: 5/31/14 Sat, 5/31;4:04:06 PM
    Error: TypeError: sfly.component.AnalyticsHelper is not a constructor
    Source File: http://www.shutterfly.com/lightbox/view.sfly?fid=e34d31919bba7675f12f12eb75ef82b5
    Line: 1428
    Timestamp: 5/31/14 Sat, 5/31;4:04:09 PM
    Error: Image corrupt or truncated: http://rc.rlcdn.com/378658.gif?n=20&ana=651
    Source File: http://rc.rlcdn.com/378658.gif?n=20&ana=651
    Line: 0
    Timestamp: 5/31/14 Sat, 5/31;4:12:07 PM
    Error: this.docShell is null
    Source File: chrome://global/content/bindings/browser.xml
    Line: 323
    Timestamp: 5/31/14 Sat, 5/31;4:12:08 PM
    Error: gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628.
    Source File: chrome://browser/content/tabbrowser.xml
    Line: 1901
    Timestamp: 5/31/14 Sat, 5/31;4:12:08 PM
    Error: TypeError: gHistoryTree.load is not a function
    Source File: chrome://browser/content/places/history-panel.js
    Line: 81
    Timestamp: 5/31/14 Sat, 5/31;4:12:19 PM
    Error: ReferenceError: youtubemp_gmCompiler is not defined
    Source File: chrome://youtubemp/content/engine.js
    Line: 38
    Timestamp: 5/31/14 Sat, 5/31;4:12:19 PM
    Error: An exception occurred.
    Traceback (most recent call last):
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/timer.js", line 28, in notify
    callback.apply(null, args);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/content/worker.js", line 91, in
    self._emit.apply(self, JSON.parse(args));
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/content/worker.js", line 197, in portEmit
    self._addonWorker._onContentScriptEvent.apply(self._addonWorker, arguments);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/content/worker.js", line 494, in _onContentScriptEvent
    this._port._emit.apply(this._port, arguments);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/mind-the-time/lib/main.js", line 218, in
    currURL = MTT_domainFromURL(tabs.activeTab.url);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/tabs/tab.js", line 111, in
    get url() String(this._browser.currentURI.spec),
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/tabs/tab.js", line 85, in
    get _browser() this._window.gBrowser.getBrowserForTab(this._tab),
    TypeError: this._window is null
    Timestamp: 5/31/14 Sat, 5/31;4:12:19 PM
    Error: An exception occurred.
    Traceback (most recent call last):
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/timer.js", line 28, in notify
    callback.apply(null, args);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/content/worker.js", line 91, in
    self._emit.apply(self, JSON.parse(args));
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/content/worker.js", line 197, in portEmit
    self._addonWorker._onContentScriptEvent.apply(self._addonWorker, arguments);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/content/worker.js", line 494, in _onContentScriptEvent
    this._port._emit.apply(this._port, arguments);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 119, in _emit
    return this._emitOnObject.apply(this, args);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/events.js", line 149, in _emitOnObject
    listener.apply(targetObj, params);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/mind-the-time/lib/main.js", line 226, in
    currURL = MTT_domainFromURL(tabs.activeTab.url);
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/tabs/tab.js", line 111, in
    get url() String(this._browser.currentURI.spec),
    File "resource://jid0-hynmqxa9zqgfjadreri4n2ahksi-at-jetpack/api-utils/lib/tabs/tab.js", line 85, in
    get _browser() this._window.gBrowser.getBrowserForTab(this._tab),
    TypeError: this._window is null

  • Error trying to acces to the event subscriptions from the events web page

    Hi all,
    I receive the following error when I try to acces to the event suscriptions link from the events page.
    Error: 3814: Please load Event System Seed Data before accessing this function.
    Somebody knows what that means?.
    Thanks in advance.
    Fernando

    Please review the Workflow Server Installation instructions. There is a post install step for Workflow Server 2.6.0 only which requires you to runa SQL script to upload seed data. If you have any further issues with your install, please log an iTAR with Oracle Support via Metalink.
    Hi all,
    I receive the following error when I try to acces to the event suscriptions link from the events page.
    Error: 3814: Please load Event System Seed Data before accessing this function.
    Somebody knows what that means?.
    Thanks in advance.
    Fernando

  • Firefox 23.0.1 keeps loading the YouTube page and prevents access to My Profile

    I do not know if this is a problem with the Firefox browser version 23.0.!But the problem of Firefox it keeps loading the YouTube page and even I can not do anything because there was a message saying still loading the YouTube page!
    go to my topic http://support.emsisoft.com/topic/12328-strange-new-problem-in-access-to-youtube/

    here you go
    Application Basics
    Name
    Firefox
    Version
    23.0.1
    User Agent
    Mozilla/5.0 (Windows NT 5.1; rv:23.0) Gecko/20100101 Firefox/23.0
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    RealDownloader
    1.3.3
    true
    {DF153AFF-6948-45d7-AC98-4FC4AF8A08E2}
    Important Modified Preferences
    Name
    Value
    browser.cache.disk.capacity
    358400
    browser.cache.disk.smart_size.first_run
    false
    browser.cache.disk.smart_size.use_old_max
    false
    browser.cache.disk.smart_size_cached_value
    358400
    browser.places.smartBookmarksVersion
    4
    browser.startup.homepage_override.buildID
    20130814063812
    browser.startup.homepage_override.mstone
    23.0.1
    dom.mozApps.used
    true
    extensions.lastAppVersion
    23.0.1
    network.cookie.prefsMigrated
    true
    places.history.expiration.transient_current_max_pages
    13196
    plugin.disable_full_page_plugin_for_types
    application/pdf
    plugin.importedState
    true
    privacy.sanitize.migrateFx3Prefs
    true
    Graphics
    Adapter Description
    Mobile Intel(R) 945 Express Chipset Family
    Adapter Drivers
    igxprd32
    Adapter RAM
    Unknown
    Device ID
    0x27ae
    Direct2D Enabled
    Blocked for your graphics driver version.
    DirectWrite Enabled
    false (0.0.0.0)
    Driver Date
    2-15-2008
    Driver Version
    6.14.10.4926
    GPU #2 Active
    false
    GPU Accelerated Windows
    0/1 Basic
    Vendor ID
    0x8086
    WebGL Renderer
    Google Inc. -- ANGLE (Mobile Intel(R) 945 Express Chipset Family)
    AzureCanvasBackend
    skia
    AzureContentBackend
    none
    AzureFallbackCanvasBackend
    cairo
    JavaScript
    Incremental GC
    true
    Accessibility
    Activated
    false
    Prevent Accessibility
    0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10
    4.10
    NSS
    3.15 Basic ECC
    3.15 Basic ECC
    NSSSMIME
    3.15 Basic ECC
    3.15 Basic ECC
    NSSSSL
    3.15 Basic ECC
    3.15 Basic ECC
    NSSUTIL
    3.15
    3.15

  • Loading a .jsp page from another .jsp page?

    Hi,
    I have following IF statement in "Main.jsp" page to load "ChangeJob.jsp" page. I tested and made sure that The IF condition was true(alert function executed), but ChangeJob.jsp didn't load.
    Did i miss something?
    Main.jsp
    <HTML>
    <% if ( (!(woSt.equals("Indirect"))) && (woSt.length()!=0) ){%>
    <SCRIPT>
    alert("click OK to load Changejob.jsp");
    document.form1.action="ChangeJob.jsp";
    document.form1.submit();
    </SCRIPT>
    <%} %>
    <BODY>
    <form name="form1">
    </form>
    </BODY>
    </HTML>

    Hi,
    The folloing code I am writing but in this my if loop is not working propery.
    the problem I am checking for this...
    if((!(progcode.equals(pall))) && (!(dcode.equals(dall))) && (!(yr.equals(yall))))
    in the belo program I am using but always it is going in to the loop. when they are equal and when they r not eqal....
    I have given compleate code in here pleace tell me hot to get it worked it properly.....
    <%@ page language="java" session="true"%>
    <%@ include file="connect.jsp"%>
    <%! ResultSet rs2,rs1;
    Statement stmt1,stmt2;
    %>
    <%
    String gpcode=null,pname=null,dname=null,total=null,totalyr=null,gtotal=null;
    int gdcode=0,gyear=0,gdata=0,deptcode=0;
    String pall=null,dall=null,yall=null;
    pall="all"; dall="99"; yall="1900";
    String progcode=request.getParameter("programname");
    String dcode=request.getParameter("departmentname");
    String yr=request.getParameter("year");
    deptcode=Integer.parseInt(dcode);
    int year=Integer.parseInt(yr);
    boolean flag=false;
    %> <%= progcode%><%=" "+ dcode%><%= " "+yr%><br>
    <%= pall%><%=" "+dall%><%=" " +yall%><br>
    <%= progcode%><%= deptcode%><%= year%>
    <%
    if((!(progcode.equals(pall))) && (!(dcode.equals(dall))) && (!(yr.equals(yall))))
    stmt=con.createStatement();
    rs=stmt.executeQuery("select * from data where progcode='"+progcode+"' and deptcode='"+deptcode+"' and year='"+year+"' ");
    flag=false;
    if(rs!=null){
    if(rs.next()){
    flag=true;
    if(flag){
    gpcode=rs.getString("progcode");
    gdcode=rs.getInt("deptcode");
    gyear=rs.getInt("year");
    gdata=rs.getInt("totalnoofstud");
    stmt1=con.createStatement();
    ResultSet trs=stmt1.executeQuery("select * from program where progcode='"+gpcode+"' ");
    if(trs.next()){
    pname=trs.getString(2);
    stmt2=con.createStatement();
    rs=stmt2.executeQuery("select * from department where deptcode='"+gdcode+"' ");
    if(rs.next()){
    dname=rs.getString("deptname");
    else {
    response.sendRedirect("viewdata.jsp?flag=false");
    stmt=con.createStatement();
    rs=stmt.executeQuery("select sum(totalnoofstud) from data where progcode='"+progcode+"' and deptcode='"+deptcode+"' ");
    if(rs.next()){
    total=rs.getString(1);
    stmt=con.createStatement();
    rs=stmt.executeQuery("select sum(totalnoofstud) from data where year='"+gyear+"' ");
    if(rs.next()){
    totalyr=rs.getString(1);
    else{
    stmt=con.createStatement();
    rs=stmt.executeQuery(" select sum(totalnoofstud) from data ");
    if(rs.next())
    gtotal=rs.getString(1);
    %>
    <html>
    <head><title>Passed Out Student Data</title></head>
    <body background="foggy2.jpg">
    <br><br>
    <%
    if(progcode!=pall && dcode!=dall && yr!=yall){%>
    <%@ include file="getdatasingle.jsp" %>
    <%}
    else{%>
    <br><br><br><center><b><font color="maroon" size=+3>Total Number Of Students Passed Out Till Now Are </font><font color="red" size=+3><%=" "+ gtotal%><
    /font></b></center>
    <%}%>
    <center>
    <input type="submit" name="ok" value="OK">
    </center>
    </body>
    </html>
    Regards,
    Madhavi

  • How to Get property values from Shared Object in client's load event - Very urgent

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

  • New I pad won't load certain web pages unless I clear cache and history every time

    New I pad 64gb with Telstra pre paid.
    Full signal 3G
    Everything up to date.
    This is the scinario I am getting, and it's getting worse. I am actually writing this on my other I pad as the new one won't load this page!!!! Not happy!
    Lets say I'm on e bay searching stuff and suddenly it won't load any more pages from the search results. I can open a new tab and load other sites so the internet is working, but at this instant i cannot look at any eBay pages on the new I pad.
    I go into settings and clear browsing history and the cookies, go back into safari and I can now load eBay and view the page that wouldnt load before. Sometimes this method will work for an hour, sometimes only 2-3 mins.
    This fault is happening more and more frequently, I was on yahoo earlier reading news. Then the page wouldn't load. Couldn't load previous page either exactly the same as with eBay.
    So I go on apple.com.au and sign in to support to ask them. Page won't load . GRRRR!
    Clear the cache etc and it's fine for a few mins then the same so I am writing this off our old I pad 1, using the Internet tethered from the new iPad that wouldn't load this page
    It's happening more and more I don't know if it's a problem with Telstra or with the I pad? Is this a common problem?
    I have tried Mercury browser and Terra browser and the fault remains.
    Seems to be on any website it can happen now.
    And now when it does, I can't check e mail, load maps, carry out speed tests anything Internet related.
    I can tether the I pad and it works fine on my old one.
    Maybe faulty I pad?

    I'm thinking it may be a DNS issue. I cleared my DNS cache using OnyX and my problem went away. OnyX is a free utility and is very useful. You can get it here:
    http://www.titanium.free.fr/download.php?sid=b94ceb83c26f4f935b661c52a5f8bff1
    Ever since I did that, I haven't had any other issues. Good luck!

Maybe you are looking for

  • Functional Module for Free Goods Determination

    Dear Experts,          What is the standard Functional module used to determine  Free goods in sales order creation. Thanks & Regards Parviz

  • Updating tax on the contract lines and header

    Hi All, Service Contracts We are trying to update Contract Line DFFs that store different values like Preventive Maintenance qty, Months billed etc. When we update this, we expect that the price, subtotal also should get updated. Also, we are updatin

  • FHUI.log error in cisco LMS 4.2

    Hello Everyone i have a problem when i tried to login in Fault history manager , i have this error messeage and can't login An exception occurred while retrieving the data. Please check the FHUI.log file for further details.

  • Dark screen using power cord after Tiger 10.4.3 update

    My update from 10.3.9 to 10.4.3 on a Powerbook G4 went fine until I realized that plugging in the power cord caused the screen to go dark. I can get it to come back on by shutting it and opening again, but it stays on for only one minute (exactly). O

  • Transformation Questions

    Hello I'm getting an ERROR in the following transformations rule.. Timestamp --> Date Timestamp --> time Timestamp --> Month Timestamp --> Year I though time info Objects are subjected to automatic conversions ?, why its is NOT getting converted ? Th