Applets strarting a browser on client machine

Hi,
Can an applet start a new instance of a browser ? I think it can't and that's what the docs abt java security say too.
But is there a way to do that ?
Can they exec processes under any circumstances or by any means ?
Will signing an applet make a difference ? Or having an applet loaded from the file system in a small intranet environment ( this is just a long shot though )?
Thanks in advance.
Thanks
Vikas

Yes, it can. A fully commented and worked example of this ought to have come with your compiler.
Hope this helps, SpinyNorman.

Similar Messages

  • I need to install a font on clients machine  please help....

    Hi
    My requirement is that i want to install a font on clients machine iam using jsp and how do i check if the font is already installed.
    Please help me 2 meet the deadlines.
    Thanks

    hi,
    If you are using english language and need other font to display something special character you have to provide link to the font file.
    else you have to write applet to install font on client machine. then there are other issues like you should have the applet signed.
    If you have seen some multiligual sites like japanese. those site use html encoding for that. like Shift_JIS. Due to this the browser sets that perticular font and shows the page. If the font is not installed then it connects to the download center and download the font and install the font.
    Thanks
    vivek

  • Web Forms Not working on Client Machines with Separate Win

    Hi friends,
    We deployed all our Forms on web and we are using Developer
    Server 6.0 ,OAS 4.07, Oracle Jinitator 1.1.7.18 ,Netscape 4.7
    Browser
    My problem is we configured forms to open in a separate window
    this is giving problems on Client Machines they are getting a
    blank screen ,previously we used to open forms in the same window
    (browser ) at that time we didn't get any problem.
    We are using Oracle Jinitiator 1.1.7.18 & Netscape 4.7 as
    browser on Client Machines.
    Thanks in Advance...!
    Smita T
    null

    JInitiator will be downloaded only once - the first time when u connect to a web-forms application. After that - no problem. It is true that the first time it takes a little bit longer, but I think forms are working better using JInitiator. However - it is just a matter of settings how u will make your application to run. Oracle did great improvement of the speed introducing the forms servlet listener. I would expect even better performance with Forms9i. And Win2000 is not a problem, but combination between Win2000 and Pentium4 is. There is a way to avoid your (installation) problems however.

  • Reading files from clients machine through a browser

    if i have to access or use some files say C:\hello\myimage.jpg from client machine's local drive, how it can be done using some technology in Java eg applets or some other way. please read the following situation to have a better undertsanding of the problem,
    consider the following situation:
    a web application is running on client PC, and on click of a button, i have to generate a report in some format and insert some images in that report which are on clients local drive and their path is known to me say C:\ myimage.jpg.
    if the mages were on the server(where web application is hosted), then its not a prob.
    if there any other technology in java to read files from clients PC through a browser other than java

    Sign the applet.
    http://forum.java.sun.com/thread.jspa?forumID=63&threadID=524815
    second and last post

  • Unable to view Applet in client machine.

    I have one jsp (Main.jsp) in which i am embedding One.Class file by using the following tag:
    <applet codebase = "http://localhost:8080/ExceleRATE/" code="One" height="350" width="650" alt="Applet Not Supported by this Browser" archive="http://localhost:8080/ExceleRATE/dom4j-1.6.1.jar,http://localhost:8080/ExceleRATE/One.jar">
    This applet (One.java) reads the XML file and displays the data in tree structure.
    I kept the One.class file, and all the jar files in the same folder where jsp is there. All the files are in tomcat/webapps/ExceleRATE (project folder).
    This is working fine in the machine where i am running tomcat(for running applets separate setting neet to be made for java.policy file ..that i did in my machine and client machine....), but not working from the different machine, i.e client machine (here my machine will act as server).
    I am getting the following error in client machine:
    load: class One not found.
    java.lang.ClassNotFoundException: One
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: One
    Can you please help me where I am doing wrong.
    Thank in Advance..

    Wherever you use http://localhost:8080 in your applet tag, it means:
    "Browser, would you please download the applet from the web server running on the same machine as yourself on port 8080".
    But you want it to come from the web server from where you downloaded the page. All the details here: [http://java.sun.com/j2se/1.4.2/docs/guide/misc/applet.html].

  • Copying client machine files into the Server BY Using APPLET

    Hi there,
    I created an applet which is DRAG and DROP enabled. In this applet content page i am dropping some file and trying to copy the same files in to the server. But when i am trying to save the files my code is saving the files in clients machine.
    I thought we are embedding the applet in a browser and the applet is running in clients machine, so for the applet SERVER is the local machine and if we create any files then they will be created in SERVER machine.
    But here the files are going to be saved in clients machine.
    I SIGNED THE APPLET TO ACCESS THE CLIENT MACHINE FILES TO DRAG AND DROP INTO MY APPLET. THAT IS NOT A PROBLEM , BUT COPYING THE FILES FROM CLIENT MACHINE TO SERVER HAS BECOME A BIG PROBLEM
    please any body can help in this regards?
    THANKS IN ADVANCE.
    batta

    I cannot see how you will copy files From the Applet to the Server.
    The only method I know to transfer data from a Java-Applet-Client to a Server and back is with the named method "HTTP-Tunneling".
    This means your, your applet made a connection e.q with a Java-Servlet wich resides on a Web-Server.
    This Servlet than can write to the Server-Filesystem and respond to the Applet.
    May be you can reach a Server with PHP, but I have not yet experience with this (I did not found anything about Servlet-Response to the Applet).
    Regards Dieter

  • Accessing print services in the client machine(browser)

    Query: We had migrated a forms-3 form to forms-6i. The forms-3 form used a userexit to call a related Pro*C functionality that helped finally to print the report file generated during the process into the client machine's printer.
    How do we take care of this functionality in forms-6i? That is, the user should be able to do the printing from the forms screen in the browser..
    Please help..

    Thank you for replying..
    We have earlier tried the web.show_document procedure to call the .html or .txt file....But in forms-3(back-end on a UNIX server with the Pro*Cs), an ascii file was created at the server side in the client's home directory, and this file was accessed and used from the front-end machine(a UNIX terminal or a QVTTerm like application on Windows), to be printed out onto the printer device configured on the client machine...As in your reply, through web.show_document also the printing can be finally done..But the user has to wait for the new browser window to get opened and show the content and then print it...These steps were not needed in forms-3, that is, on a click of the print-related-button, it did the job...So, in the same way, can something be done on the forms-6i form(use a printer-javabean or something else), to get the functionality???
    Please help..

  • Apparent gap in java applet security on client machine

    I know about signing applets, and both the new and original security models for applets. For my purposes, the original security model for applets is just about perfect. My applets do not need access to the client machine hardware, nor do they need to access any machine other than that which provides them to the client (at least at present).
    What I have been told is that it is not possible for a server of any kind (DB, servlets, &c.) to authenticate an applet. The claim was made that all the security was designed for client security and that a developer's only option is to trust the client machine.
    I can exchange information among my servers over SSL, and secure communications between by servers and applet clients. However, what is there to prevent a bad guy from breaking into a client machine and then capturing and modifying the applet I am relying on to protect the client's sensitive data? Signing the applet tells the user that the applet has not been modified from what I have produced, and so the user should feel confident enough to run it. But what if the applet and related web page is cached, and someone who has, legitimately or not, access to the machine and tries to use the cached copy for inappropriate purposes?
    If my servers can not verify that the applet code accessing them is mine, rather than a variant created to mimic my applet, then that certainly creates a risk for my code, but doesn't it also create a security risk for the client? After all, it is the client's sensitive data I am trying to protect, and I can envision a situation in which a bogus applet mascerades as mine and sends that sensitive data to a bad guy's machine; all this while giving the user the illusion that his data is safe.
    The gap here is either in my understanding of this technology or a gap in java security, so I'll put the question another way also. Is it possible for a server (e.g. an application server such as Tomcat or Sun's application server) to verify that the applet code used to try to connect with them is in fact the applet code that was signed on and served from the same machine and not malicious code masceraing as my code? If so, how does that work, and how does the programmer do it?
    Thanks,
    Ted

    the jar file reqiured is jmf.jar this jar file will there in
    jmf_home/lib
    for example in my mechine
    C:\Program Files\JMF2.1.1e\lib this jar file contain all the file reqired to run the application
    i think you may need some of the dll files also to run see
    if reqiured the then it may throw exception
    java.lang.UnsatisfiedLinkError then put respective dll file to workiing folder or the system32 folder

  • Copying the PKCS#11 wrapper dll to the client machine in a signed applet

    Hello,
    I'm implementing in a signed Java Applet using the IAIK PKCS#11 Wrapper and the PKCS#11 module of my hardware token to communicate with it.
    I have to copy the pkcs11wrapper.dll to the client machine. All things works perfectly under Windows XP but when the client have Windows Vista as OS, it's not possible to copy the needed dll.
    Thank You for any help
    Nizar

    Use JNLP for this.

  • I am using server and client systems when i am trying to open the browser in two or more machines it says that firefox is already running, i want to open the browser in all machines simeltaniously

    I am using server and clients machines in my office, here i want to open browsers in all systems simultaneously but i am unable open the browser, when i am trying to open the browser in the second machine it says that firefox is already open... pls. solve this problem
    Thank you

    You can't open one Profile more than once. You need a separate Profile for each browser on each PC that you open.
    https://support.mozilla.com/en-US/kb/Profiles

  • How to retrieve system Information on client machine Using Applets

    How to retrieve video card information on client machine using applets and JNI, please suggest me on this
    Thanks
    GReddy

    1. Research platform specific OS API to do whatever you want with video cards
    2. Write C/C++ code to wrap the functionality in 1 into something looks closer to what you want to see in java
    3. Write a class that models the functionality of 2 with native methods.
    4. Write the native methods of 3 such that they call the methods of 2.
    Note that steps 1 and 2 have NOTHING to do with jni nor java. So you start by looking somewhere else for the answers to that.

  • JRE Setup to Client machine on Intranet by using browser...

    Hi everybody,
    I have a problem about setting up JRE. If a client on the network wants to execute my client application, if there is no jre on the clent machine, the application try to connect java.sun.com for setting up JRE. If client machine has no internet connection, then the application cannot work. So my aim is to set up jre on the local server. For this, I reserched many times. But I cannot success. Becuase I dont know what is requirements for setting JRE b y using browser.
    Thanks for help...

    Hi
    Part II of the [Java Plugin Developers Guide|http://java.sun.com/j2se/1.5.0/docs/guide/plugin/index.html] describes the deployment using IE.
    Cheers
    /

  • Applet loading classes in client machine

    I want my Applet load a class that is stored in the client machine, but not in the server.
    Is this possible?
    In which directory i must place the class file?
    The applet must be signed?
    Thanks in advance, el tano. <aguante boca, che>

    One way to load a class from a file on a client's machine would be to read the class file bytecodes into your own ClassLoader and have it convert them to a JVM class. Your applet would have to have FilePermission to read files on the client machine. To keep the plugin from trying to get the class from the server, you would probably have to use reflection.
    I don't know how to tell the java plugin to do it.

  • Can Web Start call earlier installed versions on client machine?

    Can Web Start invoke earlier installed versions of the
    JRE on a client machine, without invoking a download?
    I ask because I have tried to so, unsuccessfully,
    using the versions attribute of the j2se element.
    In the usenet thread 'Jar test, with 1.4 VM?',
    Usenet Message ID:
    [email protected]
    http://groups.google.com/groups?selm=1170640609.025666.236030@s48g2000cws.googlegroups.com
    (follow the Google link at the top, to the thread)
    I was attempting to confirm that a Jar file I
    was deploying, was 1.4 compatible.
    The test failed, because despite that the (1)
    user who attempted it had a working 1.4.2 install,
    the JNLP file (which declared version='1.4'),
    was prompting for a download. The user was
    not prepared to do that, understandably -
    that was exactly what I was trying to avoid
    doing, myself.
    Since then, I did further testing locally -
    trying to get a 1.5 launch when my current
    Java is 1.6 - I have a number of 1.5 versions.
    No request for '1.5', '1.5.0_08' or '1.5*' worked
    (OK - that last one was just a WAG*), every time
    I was prompted for download (which also failed,
    as an aside!).
    What am I getting wrong?
    Do I misunderstand the intent of the j2se element
    finding earlier verions? Is it only versions that
    were installed by web start?
    Is my understanding of how to use the version
    attribute, incorrect?
    * Where are the detailed instructions on the
    allowable forms of the version attribute?
    Neither the spec. nor developers guide seem
    to go into it in any detail. Some of the forms
    I have seen around the forum were (AFAIR)..
    <!-- Suggests 1.4 preferred? -->
    version="1.4 1.5+"
    <!-- Suggests 1.4 only? -->
    version="1.4"
    <!-- Suggests 1.4.2 preferred, if microversion
    13+ is found, else 1.5+? -->
    version="1.4.2_13+ 1.5+"FWIW - here is the JNLP I am currently using
    for the test, it is 'live and public'..
    <?xml version='1.0' encoding='UTF-8' ?>
    <!--
    If you see this message in your browser, it means the
    browser is not correctly set up to handle the JNLP file
    type, that launches Java applications within a secure
    environment, that cannot access your computer, or data.
    To get the browser (and PC) correctly set up to handle
    this type of file, visit ..
      http://www.java.com/
    ..to install the free, secure, Java Plug-In made
    by Sun Microsystems.
    -->
    <jnlp spec='1.0'
        codebase='http://www.athompson.info/family/'
        href='thompson-1.4.jnlp'>
      <information>
        <title>Thompson Family Genealogy</title>
        <vendor>Andrew Thompson</vendor>
        <description kind='one-line'>
          The ancestors of William Robert Ramshaw Thompson
        </description>
        <offline-allowed />
        <shortcut online='false'>
          <desktop/>
        </shortcut>
      </information>
      <resources>
        <j2se
          version="1.4"
          href="http://java.sun.com/products/autodl/j2se" />
        <jar href='genj-applet.jar' main='true' />
      </resources>
      <applet-desc
        main-class='genj.applet.Applet'
        name='genealogy'
        codebase='./index.html'
        width='300'
        height='170'
        >
          <param name='GEDCOM' value='thompson.ged' />
          <param name='ZIP' value='thompson.zip' />
      </applet-desc>
    </jnlp>

    Using your tips, I was able to find the 1.5
    JRE's listed in the Java control panel
    (of an XP Pro box) and see they had no
    checkmark for 'enabled'.
    After enabling 1.5.0_08, I was successfully
    able to launch the application (OK - applet
    really) using the 1.5.0_08 JRE.
    Thanks.
    As an aside, I had to specify '1.5.0_08'
    exactly to get that JRE. This is fine for
    local testing, but sometimes it is handy
    to ask others to help test via the web,
    and it would be nice if I could make it less
    specific (e.g. '1.5', to get any installed
    and enabled JRE that is a 1.5 variant)
    Do I understand wrong? Should that work,
    to specify '1.5' and get a '1.5.0_08' JRE that
    is installed and enabled?

  • Problem viewing applet in a browser

    Hi guys,
    i'm facing a basic problem in viewing an applet in a browser say
    IE or netscape. beside adding the applet tag to the html file that i want to browse ;is there any other operation to perform on browsers or the Applet in order to view it ?
    i would be very grateful if you help me fix this!
    thanks indeed
    othman

    - Is there a plugin installed on the client machine
    - Is the browser java enabled
    - What tags are you using .. show your html code
    - Are you aware of the security restrictions of the applet and its sandbox
    - Are you able to view the console. What exceptions do you see if any.. show your exceptions
    - What version of IE or Netscape are you testing with
    - What OS are you using, what jvm version..
    - Is the plugin set to be used with IE and Netscape in the Plugin control panel
    - Is your applet code in the same directory as your html file. Does your codebase attribute reflect this.

Maybe you are looking for

  • C309 won't scan to computer

    I can no longer  from my C309 to my laptop.  Starting the scan from the computer does not offer me a pdf option.  I have recently bought a new laptop (a Dell) after experiencing the same problem with my previous laptop (a Toshiba).  At first the scan

  • Odd Font Display issues.

    http://www.kieru.com/mac.jpg (406 Kb) This is what my screen sometimes looks like - and I have no idea why. I use Mozilla Firefox on a 20" Intel Core Duo iMac running OSX 10.4.7. I thought I fixed this problem when I hand-sorted through 1,800 fonts a

  • Error connecting to oracle 11 g

    Hi, I m new to this database .I have one question . I installed Oracle 11g on my laptop and was using toad as well as sqlplus . But recently I upgraded my windows to windows 8 pro ,now sqlplus is running finr but toad is not able to connect .It is th

  • Page timing

    Hello, I am having a little issue with a script that is supposed to stop a request to my server when I enter information into a form but the information takes more than 5 seconds to be processed by the server. Code: <mx:Script> <![CDATA[ import mx.co

  • Feature request: local noise reduction...

    I love the local corrections in LR2, and I'm using especially the local sharpening feature a lot. But I'm really missing a local noise correction feature (at least for luminance noise). It's such a shame to be able to do about any correction that I n