Connect to applet method via JS

hi,
i have two frames in my web page. One with my tree applet in it, and the other to display some pdfs. What i want to have is when to user clicks on a pdf button, i want to pass some information back to my applet via javascript. I am using Acrobat writer which allows me to use javascript. The code is use to send the information
onClick=SimpleTree.Rupz(Introduction.pdf);
Rupz is a public method in my applet that needs a string
I embed my applet in the html using
<APPLET code="SimpleTree.class" name ="SimpleTree" width="150" height="400"></APPLET>
However when i do this i get the error
ReferenceError: SimpleTree is not defined
Could someone please tell me what is goign wrong?
Thanks
Rupesh
[email protected]

See chapters 25 and 25
http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/contents.html#contents

Similar Messages

  • Connect JavaFx(Applets) to J2EE - best practice & browser session

    Hi there,
    I’m new to JavaFX and Applet programming but highly interested.
    What I don’t get at the moment is how you connect the locally executed code of the applet to your system running on a server (J2EE).
    Of course there seem to be different ways but I would like to avoid using RMI or things like that because of the problem with firewalls and proxies.
    So I would like to prefer using HTTP(s) connection.
    And here my questions:
    1.) Is there any best practice around? For example: using HTTP because of the problems I mentioned above. Sample code for offering java method via HTTP?
    2.) Is there a possibility to use the browser session? My J2EE applications are normally secured. If the user opens pages he has to login first and has than a valid session.
    Can I use the applet in one of those pages and use the browser environment to connect? I don’t want the user to input his credentials on every applet I provide. I would like to use the existing session.
    Thanks in advance
    Tom

    1) Yes. If you look at least at the numerous JavaFX official samples, you will find a number of them using HttpRequest to get data from various servers (Flickr, Amazon, Yahoo!, etc.). Actually, using HTTP quite insulates you from the kind of server: it doesn't matter if it run servlets or other Java EE stuff, PHP, Python or other. The applet only knows the HTTP API (GET and POST methods, perhaps some other REST stuff).
    2) It is too long since I last did Java EE (was still J2EE...), so I can't help much, perhaps somebody will shed more light on the topic. If the Web page can use JavaScript to access this browser session, it can provide this information to the JavaFX applet (JS <-> JavaFX communication works as well as with Java applets).

  • I have a basic applet method timing problem with Firefox (and Chrome), not IE nor Opera. Works if JavaScript issues windows.alert() prior, fails otherwise.

    I have an applet method, which is invoked from a JavaScript function, that is triggered by the window.onload event. The problem seems to center in the loading of the applet and its methods.
    If I step through the 3 applet acceptance prompts (I chose to use a down-level Java), the applet method is never invoked, nor is an exception raised. How this happens is beyond my understanding.
    As additional information, the Init(), start(), and "desired" Java methods all use the synchronized keyword. This is an attempt to minimize the exposure to a multi-thread environment.
    If I issue a message from JavaScript (via window.alert()) PRIOR to invoking the method, I can get the desired results in special circumstances:
    1) When the alert is presented, Firefox also prompts, SIMULTANEOUSLY, to block/continue the applet (the first of the 3 applet acceptance prompts). I can accept that these are separate threads.
    2a) If I walk through the 3 applet acceptance prompts FIRST, and then hit the OK button on the alert message SECOND, I get the desired results, my applet method executes, and all is well (other than the fact that I would prefer not to have the alert in place at all).
    2b) If I hit the OK button on the alert message FIRST, and then walk through the 3 applet acceptance prompts SECOND, I get the same results as when the page loads WITHOUT the alert, which is the applet method is never invoked, nor is an exception raised. Weird, huh?
    The above problem only occurs when the browser and the applet's URL are loaded for the first time.
    Subsequent invocations (after the page & applet has been loaded initially) do not have the failing symptoms.
    It is my understanding that IE and Firefox (and Chrome and Opera, for that matter) each use the same implementation of JavaScript provided by Microsoft. Please correct me if this information is inaccurate.
    The failing page and it's applet are proprietary; I cannot provide the Internet URL, nor the Java or JavaScript source, to aid in your analysis.

    I can speak to the source code, but have no access to it.
    The current process/thread that invokes an applet method must check to see that the applet is not currently being loaded by another process/thread. If it is being loaded, the current process/thread should block until the load is complete, THEN attempt to invoke the applet method.
    Please forward my concern to a knowledgable developer. The nature of the problem, once identified, can be addressed in a very straightforward manner.

  • Macbook Pro suddenly will not connect to the internet via ethernet cable.

    I know this is a long shot... but I figured I would give it a try.
    My macbook pro suddenly does not connect to the internet via ethernet cable. Please bear with me, as I am not very tech-savvy - I will try my best to describe the symptoms!
    I connect to the internet via ethernet (we don't have wifi). It was working before I went to work, and when I came home I suddenly couldn't get anything to work (I know everyone says this, but I truly didn't mess with anything). Internet browsers just think for awhile and then turn up the 'You are not connected to the internet' error.
    I went into my network preferences and curiously, the 'Ethernet' shows a green dot and says 'connected'. However it says 'Authentication server is not responding' underneath the last part that says '802.1X: WPA: eduroam' (I think that is my user profile).
    When I go into my 'security' settings I can see that my firewall is off, so that shouldn't be causing any problems.
    I've tried restarting the router and computer itself many times. Diagnostics just gets to a certain point and reports back 'Network Diagnostics cannot fix the current networking problems.' I've also tried switching to a different ethernet cable, and I tried both cables out on a PC laptop and it connected without issue.  Additionally, I brought my macbook along to a friend's house and it connected to his wifi just fine, so the problem appears to just be with ethernet connections.
    I know it's hard to troubleshoot this kind of thing without being there and having a look at the computer yourself, but any tips wouild be greatly appreciated.

    As I mentioned above, I am not very tech savvy so I have no idea why a wireless protocol would be showing up there, I'm just listing everything I see in hopes that someone might know something I can try. This is why I am asking for help here - I'm not sure what has happened that has made me unable to connect, especially since it seemingly occured while nobody was using the computer.
    I guess I should clarify that I'm not a total hillbilly- normally my firewall is set to 'on', but I set it to 'off' to try and troubleshoot the issues here as I was told that sometimes it can interfere with the computer's ability to connect to the internet. If this is not the case and firewall does not affect anything, I will turn it back on while I try to fix this.
    I have tried the method you mentioned above a few times - I actually contacted my ISP earlier this week and they recommended resetting the router like that. They didn't mention any known network issues.

  • Error when connecting to SQL*PLUS via ODBC to Excel

    OS: Windows 2000 Professional
    Oracle DB: 9i release 2
    SQL*Plus: Release 9.2.0.1.0
    MS Excel: 2000
    ===================
    When I try to connect to SQL*PLUS via ODBC to Excel with "connect scott/tiger@odbc:libro" I get the following error:
    ORA-03121: no interface driver connected - function not performed

    SQL Server objects are commonly case sensitive, so please surround the column and table names by double quotes:
    SELECT "Type_PK_ID" FROM "dbo"."boundaries"@sqlserver
    SIDE NOTE: Oracle is by default not case sensitive and all object names are stored in upper case. To get case sensitive objects they need to be surrounded by double quotes. In HSODBC case sensitive table names were commonly found even when not surrounded by double quotes as the gateway used internal SQL Server methods to find the correct table nameing - this method does not work for column names. So to be able to query a case sensitive column it needs to be surrounded by double quotes and the table name must be written as stored in the source database.

  • I want to connect a usb drive via adapter cable to...

    I want to connect a usb drive via adapter cable to my nokia C2-01.is this phone support usb otg feature as in nokia x2-00?if not then please recomend a method to connect a usb drive to this phone..
    Solved!
    Go to Solution.

    Hi mate,
    Sadly the Nokia C2-01 does not support USB OTG functionality. There is no method AT ALL to connect a USB device to this phone in the way that you have stated. If you require storage then instead of a USB drive you can use a microSD card up to 32GB, as the phone supports it.

  • Can't connect to Report Server via Management Studio

    Hi,
    I have a local installation of SQL Server 2005 (Developer Edition) on XP Professional SP2, with Reporting Services, Integration Services, and Analysis Server installed.
    I can connect to Integration Services and Analysis Server via the SQL Server Management Studio, but not to the Report Server. I can access and use the Report Server installation via http://localhost/Reports and http://localhost/ReportServer, and everything checks out on the Reporting Services Configuration tool, so the server appears to be working fine.
    I've uninstalled/re-formatted/reinstalled the services (with all default options, and services running as "Local Service"), but always end up with the following error when connecting to Report Server via Management Studio:
    The request failed with HTTP status 503: Service Unavailable. (Microsoft.SqlServer.Management.UI.RSClient) ------------------------------
    Program Location:
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String methodname)
       at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()
       at Microsoft.SqlServer.Management.UI.RSClient.RSClientConnection.CreateConnection(String connectionString)
       at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.CreateConnectionObject()
       at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.RSTypeImpl.GetConnectionObject(UIConnectionInfo ci)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.RSType.GetConnectionObject(UIConnectionInfo ci)
       at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    Any hints would be appreciated...
    Thanks,
    /vijayan

    Here is the report server log:
    <Header>
      <Product>Microsoft SQL Server Reporting Services Version 9.00.2047.00</Product>
      <Locale>en-US</Locale>
      <TimeZone>AUS Eastern Standard Time</TimeZone>
      <Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServerService__06_22_2006_09_34_56.log</Path>
      <SystemName>COUNTD2</SystemName>
      <OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>
      <OSVersion>5.2.3790.65536</OSVersion>
    </Header>
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing ConnectionType to '0'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsSchedulingService to 'True'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsNotificationService to 'True'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsEventService to 'True'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsWebServiceEnabled to 'True'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing ProcessRecycleOptions to '0'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WatsonFlags to '1064'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing SecureConnectionLevel to '0'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
    ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'  as specified in Configuration file.
    ReportingServicesService!resourceutilities!4!22/06/06-09:34:57:: i INFO: Reporting Services starting SKU: Enterprise
    ReportingServicesService!resourceutilities!4!22/06/06-09:34:57:: i INFO: Evaluation copy: 0 days left
    ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Database Cleanup (NT Service) timer enabled: Next Event: 600 seconds.  Cycle: 600 seconds
    ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Execution Log Entry Expiration timer enabled: Next Event: 59102 seconds.  Cycle: 86400 seconds
    ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: SQM timer timer enabled: Next Event: 62702 seconds.  Cycle: 86400 seconds
    ReportingServicesService!library!8!22/06/06-09:34:58:: i INFO: Catalog SQL Server Edition = Enterprise
    ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Initializing crypto as user: OBJECTIVEWARE\s.count
    ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Exporting public key
    ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Performing sku validation
    ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Importing existing encryption key
    ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: EventPolling polling service started
    ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: NotificationPolling polling service started
    ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: SchedulePolling polling service started
    ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: UpgradePolling polling service started
    ReportingServicesService!dbpolling!b!22/06/06-09:34:58:: NotificationPolling heartbeat thread started.
    ReportingServicesService!dbpolling!a!22/06/06-09:34:58:: EventPolling heartbeat thread started.
    ReportingServicesService!dbpolling!c!22/06/06-09:34:58:: Polling started
    Here is the IIS log:
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2006-06-21 00:00:21
    #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2006-06-21 00:00:21 W3SVC1 203.166.122.177 GET /iisstart.htm - 80 - 203.166.122.223 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+InfoPath.1) 200 0 64
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2006-06-21 03:50:53
    #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2006-06-21 03:50:53 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 200 0 0
    2006-06-21 03:51:15 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 500 0 0
    2006-06-21 03:51:15 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 200 0 0
    2006-06-21 03:51:31 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 500 0 0
    2006-06-21 03:51:31 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 500 0 0
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2006-06-21 07:51:41
    #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2006-06-21 07:51:41 W3SVC1 203.166.122.177 GET /iisstart.htm - 80 - 203.166.122.223 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+InfoPath.1) 200 0 64
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2006-06-21 23:38:59
    #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
    2006-06-21 23:38:59 W3SVC1 203.166.122.177 GET /Reports - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 301 0 0
    2006-06-21 23:39:16 W3SVC1 203.166.122.177 GET /Reports/Home.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/Pages/Folder.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0
    2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/js/ReportingServices.js - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/styles/ReportingServices.css - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/images/blank.gif - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/images/48error.jpg - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:40:11 W3SVC1 203.166.122.177 GET /Reports - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 301 0 0
    2006-06-21 23:40:11 W3SVC1 203.166.122.177 GET /Reports/Home.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2006-06-21 23:40:13 W3SVC1 203.166.122.177 GET /Reports/Pages/Folder.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0
    2006-06-21 23:41:26 W3SVC1 203.166.122.177 GET /Reports/home.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2006-06-21 23:41:28 W3SVC1 203.166.122.177 GET /Reports/Pages/Folder.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0
    2006-06-21 23:43:52 W3SVC1 203.166.122.177 GET /reports - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 301 0 0
    2006-06-21 23:43:52 W3SVC1 203.166.122.177 GET /reports/Home.aspx - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 302 0 0
    2006-06-21 23:43:53 W3SVC1 203.166.122.177 GET /reports/Pages/Folder.aspx - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 500 0 0
    2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/js/ReportingServices.js - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/styles/ReportingServices.css - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/images/blank.gif - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
    2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/images/48error.jpg - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
    Thanks,
    Roshan.

  • How to connect APEX with MYSQL via Apex's Database link

    How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
    can someone please elaborate on what these are and where i can find them in mysql:
    Database Link Name      
    Connect To Schema      
    Password      
    Remote Hostname or IP      
    Remote Host Port      
    SID or Service Name      
    I need to link to mysql database so I can set up a 3D pie chart in apex

    Hi jononioo
    A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
    I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
    Regards
    Andre

  • Invoking Applet methods from Javascript for Netscape 6

    Hi,
    I am trying to invoke an applet method from javascript, but it is failing with Netscape 6 browser:
    I am doing it the following way-
    function test(form)
    var i = document.myapplet.getname();
    where myapplet is the name of the applet and getname is a method within the applet. This is
    working with Ie but not with netscape 6.
    I would appreciate it if someone could tell me how should I invoke the applet method for netscape browsers.
    Thanks.
    Jay Srin.

    Not working with NS 6 - and will not i guess till they upgrade to Mozilla Version 1.0 - Live Connect is not implemented 100% correct yet - if you want you can download the 7.0 Pre Release Netscape - since its using mozilla 1.0 it should work , see :
    http://forum.java.sun.com/thread.jsp?forum=30&thread=272975

  • Error message while trying to connect to Facebook chat via Thunderbird.

    I have read multiple forums and watched YouTube video's on how to connect to Facebook Chat via Thunderbird however, I am unable to connect. I have gone into Facebook to verify and re-verify my password and have also tried multiple variations of my "username"...i.e. First name....First and Last name......[email protected]..I continue to get an error message saying:
    "Error: Not authorized (Did you enter the wrong password?)"
    Assistance would be appreciated.
    Thank You

    This method did solve my issue. Many thanks.
    PS..Yes, it was nice to see it was fairly hidden to find the username..<sarcasm..:)

  • I can't connect to Windows Server via FTP

    I've been using FTP for about 13 years and it works fine on Apache servers but can't connect to a windows Server via my Fetch FTP program. The site owner sent me a screenshot and copied/pasted the password so I know I have the info correct. It is still giving me errors.
    Is there a special method to connect to Windows server via FTP?

    Hi Lorel,
    Try FileZilla...
    https://filezilla-project.org/

  • Access file applet function via javascript

    hi all
    when i want to have access to the method (which in fact read a file) of my applet class via javascript, a java error is raised: access denied
    BUT i have signed the related jar!
    when i want to access the method (which in fact read a file) of my applet class via the normal way (put a button into a frame and....) it works.
    are there more configurations to do or ....?
    Kind Regard Tom
    here is the code
    HTML file
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
         <head>
         <link type="text/css" rel="stylesheet" href="/css/style.css">
              <script type="text/javascript">
              function xclick() {
              alert( document.getElementById('applet').isFileOk());
              document.getElementById('fichier').value = document.getElementById('applet').isFileOk();
              //alert(document.portal.applet.isFileOk(path));
              function checkfile() {
                   //var fichiercacher = document.portal.fichier.value;
                   var fichiercacher = document.getElementById("fichier").value;
                   document.getElementById("fichiercacher").value = fichiercacher;
                   document.getElementById("fichiercacher").value = fichiercacher;
                   document.getElementById("chemin").value = fichiercacher;
                   alert("fichier cacher" + fichiercacher);
                   alert("chemin=" + document.getElementById("chemin").value);
              </script>
         </head>
         <body >
         <form name="portal" method="post" action="" >
    <p align="center" id="corps">
         <img border="0" src="ilias.bmp"><br>
         <applet id="applet2" code="NumberOfLine.class" archive="NumberOfLine.jar" width="150" height="109" >
              <param name="maxLines" value="50" />
              <param id="chemin" name="fichierparam" value="" />
              </applet>
              <applet id="applet" code="localfile.class" archive="localfile.jar" width="150" height="109" >
              <param name="maxLines" value="50" />
              <param id="chemin" name="fichierparam" value="" />
              </applet>
         <br>
                   <div id="divloading" ></div>
         <input type="hidden" name="fichiercacher" />
         <input type="file" name="fichier" onchange="checkfile()">
    <input type="button" value="click me" onClick=xclick() ; />
         </p>
         </form>
         </body>
         </html>
    Class NumberOfLine javascript way
    import java.applet.Applet;
    import java.awt.Button;
    import java.awt.Label;
    import java.io.*;
    public class NumberOfLine extends Applet {
    private boolean fileok = false;
    Label message = new Label("MAX line = 40 ");
    Button btnok = new Button("check file");
    int maxline = 40;
    public void init() {
         String sMaxLines = getParameter("maxLines");
         if ( sMaxLines != null ){
                   this.maxline = Integer.parseInt(sMaxLines);
                   System.out.println(this.maxline);
         public String isFileOk(String chemin) {
              File ffile = new File( chemin);
              try{
                   FileReader fr = new FileReader(ffile);
                   LineNumberReader ln = new LineNumberReader(fr);
              int count = 0;
              while (ln.readLine() != null) {
              count++;
              System.out.println("Total line no: " + count);
                   ln.close();
                   fileok = (count <= maxline);
              catch(IOException e){
                   e.printStackTrace();
                   System.out.println(e.toString());
              return fileok ? "ok" : "nok";
    CLass localfile Normal way
    import java.applet.*;
    import java.awt.*;
    import java.util.*;
    import java.lang.*;
    import java.text.*;
    import java.awt.event.*;
    import java.io.*;
    public class localfile extends Applet {
         public localfile() {
              Panel p = new Panel();
              Font f;
              String osname = System.getProperty("os.name","");
              if (!osname.startsWith("Windows")) {
                   f = new Font("Arial",Font.BOLD,10);
              } else {
                   f = new Font("Verdana",Font.BOLD,12);
              p.setFont(f);
              p.add(new Button("Open"));
              p.add(new Button("other"));
              p.setBackground(new Color(255, 255, 255));
         p.setSize(800, 800);
              add(p);
              setSize(800, 800);
              setVisible(true);
         public String isFileOk(){
                   System.out.println("OPEN CLICKED");
                   int arrlen = 10000;
                   byte[] infile = new byte[arrlen];
                   Frame parent = new Frame();
                   FileDialog fd = new FileDialog(parent, "Please choose a file:",
                   FileDialog.LOAD);
                   fd.show();
                   String selectedItem = fd.getFile();
                   if (selectedItem == null) {
                        // no file selected
                   } else {
                        if ((fd.getFile()).endsWith("txt") || (fd.getFile()).endsWith("text")){
                             File ffile = new File( fd.getDirectory() + File.separator +
                             fd.getFile());
                             // read the file
                             System.out.println("reading file " + fd.getDirectory() +
                             File.separator + fd.getFile() );
                             try {
                                  FileInputStream fis = new FileInputStream(ffile);
                                  BufferedInputStream bis = new BufferedInputStream(fis);
                                  DataInputStream dis = new DataInputStream(bis);
                                  try {
                                       int filelength = dis.read(infile);
                                       String filestring = new String(infile, 0,
                                       filelength);
                                       System.out.println("FILE LENGTH=" + filelength);
                                       System.out.println("FILE CONTENT=" + filestring);
                                  } catch(IOException iox) {
                                       System.out.println("File read error...");
                                       iox.printStackTrace();
                             } catch (FileNotFoundException fnf) {
                                  System.out.println("File not found...");
                                  fnf.printStackTrace();
                        } else {System.out.println("Error this is not a txt file"); }
              return "turc";
         public boolean action(Event evt, Object arg) {
              if (arg.equals("Open")) {
                   System.out.println("OPEN CLICKED");
                   int arrlen = 10000;
                   byte[] infile = new byte[arrlen];
                   Frame parent = new Frame();
                   FileDialog fd = new FileDialog(parent, "Please choose a file:",
                   FileDialog.LOAD);
                   fd.show();
                   String selectedItem = fd.getFile();
                   if (selectedItem == null) {
                        // no file selected
                   } else {
                        if ((fd.getFile()).endsWith("txt") || (fd.getFile()).endsWith("text")){
                             File ffile = new File( fd.getDirectory() + File.separator +
                             fd.getFile());
                             // read the file
                             System.out.println("reading file " + fd.getDirectory() +
                             File.separator + fd.getFile() );
                             try {
                                  FileInputStream fis = new FileInputStream(ffile);
                                  BufferedInputStream bis = new BufferedInputStream(fis);
                                  DataInputStream dis = new DataInputStream(bis);
                                  try {
                                       int filelength = dis.read(infile);
                                       String filestring = new String(infile, 0,
                                       filelength);
                                       System.out.println("FILE LENGTH=" + filelength);
                                       System.out.println("FILE CONTENT=" + filestring);
                                  } catch(IOException iox) {
                                       System.out.println("File read error...");
                                       iox.printStackTrace();
                             } catch (FileNotFoundException fnf) {
                                  System.out.println("File not found...");
                                  fnf.printStackTrace();
                        } else {System.out.println("Error this is not a txt file"); }
              } else return false;
              return true;
    }

    Thx you were a great due to my big lak of java skills.
    i found the solutions and for those who are interrested here is the code:
    public String isFileOk(final String filepath){
              System.out.println("OPEN file=" + filepath);
              int arrlen = 10000;
              byte[] infile = new byte[arrlen];
                        try {
                   FileInputStream fis = (FileInputStream) AccessController.doPrivileged(
                   new PrivilegedExceptionAction() {
                   public Object run() throws FileNotFoundException {
                   return new FileInputStream(filepath);
                             BufferedInputStream bis = new BufferedInputStream(fis);
                             DataInputStream dis = new DataInputStream(bis);
                             try {
                                  int filelength = dis.read(infile);
                                  String filestring = new String(infile, 0,
                                  filelength);
                                  System.out.println("FILE LENGTH=" + filelength);
                                  System.out.println("FILE CONTENT=" + filestring);
                             } catch(IOException iox) {
                                  System.out.println("File read error...");
                                  iox.printStackTrace();
                             } finally {
                                  try {
                                       fis.close();
                                  } catch(IOException ioe) {
                                       //oops
                   } catch (PrivilegedActionException e) {
                   // e.getException() should be an instance of FileNotFoundException,
                   // as only "checked" exceptions will be "wrapped" in a
                   // PrivilegedActionException.
                   //throw (FileNotFoundException) e.getException();
                        e.printStackTrace();
                        return "nok";
                   return "ok";
         }

  • K7n2 delta, won't allow me to connect to the internet via pci modem

    motherboard: K7n2 delta, nforce2 ultra
    won't allow me to connect to the internet via pci modem
    i have got 2 computers with same mobo, can connnect through external 56k
    but the 2 internal 56ks (one in each computer), will not connect.
    just dials then beeps, or no dialing tone.
    the 2 internal ones are differnet makes, but connect through PCI
    there must be something wrong with Mobo settings or pci stuff
    all internet and modem settings are correct, etc etc etc
    can u help
    or does anyone have a pci 56k running on that mobo?

    Quote
    Originally posted by Solway
    i made my creative one work and dial, using pulse dialing, but it takes ages
    but my other one has no dialing tone, its werid.
    If your not hearing dial tone you might have your phone plugged into the wrong port. Most modems have 2 outlets, one is labeled line ( that is the one you should have plugged into the jack (RJ11C). If that's correct, query the modem and see if it tests OK, you may have a defective modem.

  • Connecting to a cube via a linked server

    Hi
    I want to connect to a SSAS cube via a linked server. When I ran a query against the SSAS cube from directly from the SQL server it runs fine.
    If however I run the query in SSMS from my PC I get
    OLE DB provider "MSOLAP" for linked server "SSASServer01" returned message "The following system error occurred: .".
    Msg 7373, Level 16, State 2, Line 1
    Cannot set the initialization properties for OLE DB provider "MSOLAP" for linked server "SSASServer01".
    In the properties on the linked server I've defined an account to use for the connection to get round the double hop issue
    Any Ideas why I'm still getting the error?
    Alex

    Hi Mr P,
    According to your description, you get the error 7373 with message "Cannot set the initialization properties for OLE DB provider "MSOLAP" for linked server "SSASServer01"." when connecting a SSAS cube via linked server.
    Right?
    In this scenario, based on the error code 7373, it points to the issue of MSOLAP provider, please firstly check the properties setting for MSOLAP. Make sure the "Allow Inprocess" is selected. You may also have other options selected depends on
    your query.
    Also check if ports for your server (1434 and 2383) are listening proper locally and externally. Please refer to a similar thread below:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9d5bd9e0-c380-4a0f-bdab-857751c71fba/ole-db-msolap-provider-issues?forum=sqlanalysisservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • My iphone 5 won't make a call when i fail to connect to the internet via 3g

    My iphone 5 won't call when i fail to connect to the internet via 3g.
    At work i dont have wifi i have 3g, if i launch say the sky go app,or the iplayer, sometimes they work and everything is fine...sometimes they wont load as 3g for whatever reason cant get a connection at that particular time........ if i then try and make a call the call will fail. I've experimented 25 + times and this is definately the cause.
    (note: when the 3g connection does work, the phone has absolutely no problem calling people)
    Anyone had this problem?
    Even better has anyone got a solution?
    Thanks,
    Nick.

    Are you sure that the carrier's signal is strong where you are having this problem? Certain building structures and locations have poor cellular signal strength and this often results in the "No Service" indication. Are other users able to get service in the same locations where you have problems?

Maybe you are looking for

  • My IPhone 5s has stopped sending e-mails suddenly.

    Yesterday afternoon my iPhone stopped sending my e-mails via aol. I can receive but not send. I have tried deleting and reinstalling the e-mail account, I have reviewed the sending server as suggested by some other support pages. I am at a lost as to

  • Glitch that looks like a datamosh after compressing in Media Encoder

    When trying to make a WMV of this video and after rendering out lossless from AE and then compressing in Media Encoder, I am getting this strange glitch at the same spot no matter how many times I try to redo the process with different settings withi

  • Error while running the portal application

    Hi All, I have made one sample portal application in Sun Java Studio Enterprise 8.When I build this application it is successfully build.Now when I start the server of Sun Java Studio Enterprise 8 and try to run the project ,the browser opens and giv

  • P35 Neo2-F Sata2 Raid1 problems

    hello i have some problems with MSI P35 Neo2-F mb...   I can't make it work with 2 sata2 Hard Drives in RAID1 mode    Last BIOS update done,    The install of the OS (win xp prof sp2/sp3) is ok, but if you want to format last partition of RAID drive

  • Main nav bar does not appear sometimes when opening a PDF

    Hi. I'm using a PC running Windows 7, and Acrobat 10 and 11. I am having a strange problem where Acrobat will open one PDF normally and then a second one will open with no navigation toolbar (menu bar?) above the "Create PDF" bar that has the customi