Recieving information from Explorer with Java

Hi
I don't know if this is possible but what I'm looking to do is create a java pplication the monitor the webpages being view by the user.
Is there any way that I can pass the URL of the page being viewed in Explorer into my JAVA app.
Cheers

I'm not writing spyware. I'm creating a JITIR agent that will run on the users machine 'WITH THERE KNOWLEDGE'.
I needs to know what page they are presently viewing to perform an analsys of the content.
Thanks for the History suggestion file I may look into that.

Similar Messages

  • Passing information from applet  to  java script  of same browser

    Hi
    i want to pass some information from applet button click to same browser window html elements where applet exist. how it can be possible
    Thanks
    Dev

    Use JSObject:
    html file:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    mayscript=true>
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text is the HTML text </LABEL>applet
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\jre1.5.0\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    // for msjvm use the -source 1.3 -target 1.1 option so the command looks like this:
    // javac -source 1.3 -target 1.1 -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
    // you need win.eval("window.close();"); // to close the window. if the current window is not a popup
    // opened by a parent with window.open than the user will get a waring, your next question probably will
    // be "can I stop this warning" and the answer is simple: NO
                 JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                 textBoxLabel.setMember("innerHTML", "<center><h1>Some text from applet</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }

  • Saving information from web using java.

    hi all
    can anyone tell me how to go to the specified url and then save all the information in it to a text file in a local system using java. i also want to know are there any modules in java similar to LWP module in perl for downloading the information from a specified website...

    http://java.sun.com/docs/books/tutorial/networking/urls/index.html

  • Recieved email from WHICH with [Request ID :##55675##] : in the subject heading is crashing my THUNDERBIRD when I move the email from INBOX to local folders

    Recieved email from Computer Help at WHICH magazine with [Request ID :##55675##] : in the subject heading is crashing my THUNDERBIRD (and other programs) when I move the email from INBOX to local folders. The only work-around found so far is to shut them down with task manager, as they wont otherwise close.
    However if I move the Reply with the same subject heading from my SENT box to LOCAL FOLDERS I dont get the problem.
    Hav I found a faulty software trap in the base code.
    Thunderbird is up to date and it is on a 64kb intel i7 quad processor 8G ram desktop using windows 7 latest update.

    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Getting rates from ecb with java

    Does anyone know how i can get the latest exchange rates from the European central Bank website with java?

    Got this from [http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml]
    aparently it's updated daily :)
    <?xml version="1.0" encoding="UTF-8"?>
    <gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01" xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref">
         <gesmes:subject>Reference rates</gesmes:subject>
         <gesmes:Sender>
              <gesmes:name>European Central Bank</gesmes:name>
         </gesmes:Sender>
         <Cube>
              <Cube time='2008-07-25'>
                   <Cube currency='USD' rate='1.5734'/>
                   <Cube currency='JPY' rate='168.77'/>
                   <Cube currency='BGN' rate='1.9558'/>
                   <Cube currency='CZK' rate='23.595'/>
                   <Cube currency='DKK' rate='7.4619'/>
                   <Cube currency='EEK' rate='15.6466'/>
                   <Cube currency='GBP' rate='0.78880'/>
                   <Cube currency='HUF' rate='231.35'/>
                   <Cube currency='LTL' rate='3.4528'/>
                   <Cube currency='LVL' rate='0.7032'/>
                   <Cube currency='PLN' rate='3.2080'/>
                   <Cube currency='RON' rate='3.5675'/>
                   <Cube currency='SEK' rate='9.4610'/>
                   <Cube currency='SKK' rate='30.385'/>
                   <Cube currency='CHF' rate='1.6268'/>
                   <Cube currency='ISK' rate='127.51'/>
                   <Cube currency='NOK' rate='8.0815'/>
                   <Cube currency='HRK' rate='7.2182'/>
                   <Cube currency='RUB' rate='36.7435'/>
                   <Cube currency='TRY' rate='1.8966'/>
                   <Cube currency='AUD' rate='1.6438'/>
                   <Cube currency='BRL' rate='2.4808'/>
                   <Cube currency='CAD' rate='1.5968'/>
                   <Cube currency='CNY' rate='10.7275'/>
                   <Cube currency='HKD' rate='12.2698'/>
                   <Cube currency='IDR' rate='14352.55'/>
                   <Cube currency='KRW' rate='1584.41'/>
                   <Cube currency='MXN' rate='15.7525'/>
                   <Cube currency='MYR' rate='5.1129'/>
                   <Cube currency='NZD' rate='2.1159'/>
                   <Cube currency='PHP' rate='69.143'/>
                   <Cube currency='SGD' rate='2.1407'/>
                   <Cube currency='THB' rate='52.608'/>
                   <Cube currency='ZAR' rate='11.9481'/>
              </Cube>
         </Cube>
    </gesmes:Envelope>

  • How to stop the information bar cmoing in the Internet Explorer with java

    hai all,
    iam new to this forum and posting a question on java application where i had a problem.
    I work in a software company. we have developed an application and it is in production and we had a small problem. we have deifferent kinds of reports te users can get dynamicalty based on theirn requet parameters. so when we are deployingthe application on server and accessing it from the client machine(bothe the server and client are diferent i mean different machines) they get an information bar that
    "To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options". and for this we have given them the solutions for setting the security features for the
    Internet Explorer . but they want it to be done thru program such that they dont want to see that message. i need a small help for this.
    It would be very help ful for me in my carreer if i get a solution for this.

    I'm not 100% sure, but doesn't all applets have the same popup bar? I guess you can tell your customers to turn off their popup blocker beforehand. (This is what my uni does with WebCT Vista)

  • Recieve Information from AS2 Communicator to ABAP Stack

    Hi,
    I have a require to recieve the information (data) through EDI process from the AS2 Communicator
    Please suggest is there any way to complete this taks in SAP-ABAP Stack system.
    Thanks & Regards.
    Praveer.

    Hello Deepu,
    Thanks for all the help thus far, I am already much better off!
    When i go to RSRT and select a query, then I click the "Java Web" button, the link that is launched on the web in the JAVA runtime is:
    http://madbid01.pacific-cycle.com:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=XNAB_BW35DEF_PRESENTATION
    Our patch levels are as follows:
    BW: Release 700, Patch level 0021
    Portal: Release 7.00 Patch level 19
    The results from note 937697 was all green, with 2 exceptions (noted below):
    1. RED - URL's Prefixes Customized on Both J2EE and ABAP Side
    CHECK MESSAGE: The URL for ABAP customizing table RSPOR_T_PORTAL http://madbid01.pacific-cycle.com:50000 is not compatible with the URL for Portal System landscape Web Application Server configuration: http://madbid01.Pacific-Cycle.com:8100
    2. RED - WebAS ABAP Settings
    CHECK MESSAGE 1: Support Desk was not able to read the properties of RFC Destination 'BID_MADBID01_BID'
    CHECK MESSAGE 2: Error when calling function module CONVERT_RFCDES_TO_RFCDISPLAY
    Thanks!
    Nick

  • How to read only files with a certain format from folder with java

    I have this folder on the server and I only want to read files from this folder on the server... I only want to read files with the files format starting with error_ and ending with xml... an example of a file would be..
    error_123.xml
    I want something like this
    if(fileName.startsWith("error_") && fileName.endsWith(".xml")){
    but which java package will I have to use to read the file from the directory...

    Create an implementation of the java.io.FilenameFilter interface to match the pattern you need.
    Create a java.io.File object for the folder.
    Use the File.listFiles(FilenameFilter) method to get an array of File objects for the files in the folder that match the pattern.
    For each file in the array, create a FileInputStream, wrap it in an InputStreamReader, and wrap that in a BufferedReader (assuming you want to read the XML files as character streams).

  • Operating System Calls from APEX with Java and PL/SQL

    Question about operating system calls from apex.
    I created a java file which is wrapped with pl/sql like
    create or replace java source named "ExternalCall" as
    import java.io.*;
    I do the steps from this web page http://www.oracle.com/global/de/community/tipps/oscalls/index.html
    The page is in german, but for experienced users the code on this page says everything.
    In apex i have an application which calls this function with the "move" command in a sql-report region.
    Let's say move c:\work1\file.txt c:\work2\file.txt
    Everything works fine on one host(pc) but if i want to transfer the file from my host to another one then
    i get the messgage "no access" although i have read, write access on the other host.
    By the way, on both hosts i have admin rights.
    Why can't i transfer the file over a network ?
    Thanks in advance for any kind of help.
    Regards
    Stefan

    I guess you are working on a Windows host. In this case Oracle processes are running as Windows services with a build-in MS system account. This account has no access to network ressources. You have two ways to get out of your windows box:
    Assign Oracle services a network enabled account, e.g. domain user with local administrator privileges. (I never tried this and I don't like to recommend it.)
    Use a command script for copying files and use explicite authentication within this script:-
    net use \\myserver\ipc$ tiger /user:scott
    copy c:\temp\xxx1 \\myserver\share\temp
    copy c:\temp\xxx2 \\myserver\share\temp
    Michael

  • Transformation to WORD from XSLT with java stored procedure - PROBLEM

    Hi all,
    I'm building a java function for transformation of xml document through .xslt scheme to WORD. I use xalan.
    Now, everything works fine if I run the java function on the client VM
    But on the server where the classes needed for the transformation are loaded, it crashes with a strange exception
    nulljava.lang.NullPointerException
    Now I've located the problem, and it occurs in this line in the java code:
    transformer.transform( new StreamSource(xmlFile),  new StreamResult(osIzlez));
    (where xmlFile is the source for the transformation, and the transformer is configured with the proper .xslt scheme, osIzlez points to a bytearraystream of a blob in the database where the .doc file is going to be generated and loaded)
    I also found out that the NullPointerException occurs because the transformer is actually null on the server (although it's configured with the .xstl scheme and should not be null ! ), but on the client it's never null!
    What could be the problem, does anyone have an IDEA?
    Edited by: Daniel Kiprijanovski on 17.9.2009 03:07

    OK, i found out that there's a reported bug about that exception on the java VM. I found a way arround it however.
    Thanks,
    Daniel K.

  • How do I read a web page and extract text information from it with LabVIEW?

    Hello,
    I want to read a webpage (not Labview), extract the text from the page and then sort out the text to get the information I want. It would be like reading a weather webpage and wanting to extract the current temperature from the webpage usign labview. Any suggestions?
    Thanks

    The discussion below touches on the subject, it looks like it will do what you want.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=137315&requireLogin=False

  • An explorer with java ! is it possible?

    hi !
    one of my tasks or rather my problmes that i am facing now is to implement a java application that plays the same role as the windows eplorere with its common fonctionalities ( copy , paste , drag and drop , rename ...)
    is it possible ! can you help me with a source code please !! i am really in trouble!!
    thanks

    I'm fairly new to Java myself, so I can't help a lot, but a good starting point my be the JFileChooser class.
    http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
    Extending this class may allow you to add the functionality that you need without having to code the entire thing.
    Hope this helps a little.

  • Extract iview / role information from PCD with ODBC

    Hi all,
    I'd like to report informations about existing iviews, roles and their dependencies by directly accessing the PCD (MS SQL).
    Accessing with MS Acces via ODBC is working fine, my problem is that I don't understand the db-structure and cannot find usefull informations about my portal objects.
    Where can I find an documentation about the PCD-structure?
    regards,
    Stefan

    Hi,
    There may not be any such documentation available online about DB tables structure to store PCD information.
    If we want to -  "look for PCD Objects directly using SQL without APIs" - then we can check for tables having pre-fix "EP". Specifically table named "EP_OBJECTS", it's referred as to been storing portal content in SAP Note: 918553.
    Alternatively may want to try checking SQL Trace of PCD requests as per SAP Note: 822257.
    PS: Above notes are for EP 6.0, however they would also be relevant to NW Portal 7.0. And below is a link for BP for NW 7.0 Portal Performances which also emphasizes that PCD DB tables start on pre-fix "EP".
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0f1358d-0812-2c10-b58c-c7bdd7a0cdce?QuickLink=index&overridelayout=true]
    I hope above information would of some help.
    Thanks,
    Swapna Priya.

  • Getting the current installed version information from SAP with VBScript

    This is probably a question that is buried somewhere in here but so far no luck finding it so i'm throwing it out to everyone.
    I am in charge of developing all of the distribution packages for SAP and any and all add-ons our corporate site requires. I'm using radia as a push tool and vbscript and wmi to manage the uninstall, install, patching, updating, and miscellaneous functions needed on each users system.
    prior to my taking this position over an older version of SAP was distributed to several users with less than stellar results. due to the massive size of the Frontend GUI i've separated it out as a base stand alone install and packaged each Add-On with only the files it needs to complete the FE install. in order to guarantee my users have the newest version of the FE GUI on their systems i am doing some rudimentary checks based on the existence or no existence of the push directory of the older sap package on the users system. which works for now but is not the most graceful thing.
    What i need is to be able to check right from a running vbscript what the current version and patch level the FE GUI is running at and any other components if possible, for now the FE GUI is the most important
    Thanks for the help
    Cheers,
    <b>Ryan Strope
    Distributed Services
    (Software package development/testing)
    Lockheed Martin Systems Integration Owego
    (Cyber City Computers)
    [email protected]
    (607)751-1164
    Quid quid latine dictum sit, altum videtur
    </b>

    Ryan,
    I hope you find this of use.  The only issue you will have is if the user has the SAP GUI running.  If so, the getversion call will fail as it requires an exclusive lock on the file.  I do not know why.
    Anyway, here is the code:
    Dim oShell, SAPdestdir, fso, i
    Set oShell = WScript.CreateObject("WScript.Shell")
    SAPdestdir = oShell.RegRead("HKLMSOFTWARESAPSAP SharedSAPdestdir")
    Wscript.Echo SAPdestdir
    Set fso = CreateObject("Scripting.FileSystemObject")
    SAPGuiVer = fso.GetFileVersion(SAPdestdir & "SAPGuiSAPGui.exe")
    WScript.Echo SAPGuiVer
    verInfo = Split(SAPGuiVer, ".")
    For i = 0 To UBound(verInfo)
         WScript.Echo verInfo(i)
    Next

  • How to Get and Set personalization data from Iview with Java Webdynpro ?

    Hi All,
    I'm trying to get Iview properties from an Iview in the portal, did anyone knows how to do this?
    sample caode?
    Thanks,
    AmitY

    You can use PCD API to access iView properties
    Check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
    /people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects

Maybe you are looking for