How to interect with applet within browser

i want to write a jws that can interact with the applet (inside browser)
sample:
i write a caculator, all the class are in jlnp(jws) except the interface,
user only can access and see the interface(applet) when he/she come to my website. (ofcouse ,i just wan to promote my ad).
so, can give me some hint how to interact jws and applet that within browser,
like jws to

Hi
If your database is oracle 9i you connect to database throgh isqlplus.During the installation of database it diplays http server with port number.Check the port number with 7778
ExmPLE : HTTP://MACHINENAME:7778/ISQLPLUS
Regards
Mohan

Similar Messages

  • Applet within browser not releasing file resource

    hi,
    I have an applet for ftp images upload.
    run from eclipse IDE (which uses applet viewer) the applet is ok.
    if i run my applet from browser here is what happens:
    i upload a file .& leave the browser opened.
    i then open this same file with gimp or photo-shop & get file in use error.
    if i close browser & try opening file .it works ok.
    why the file isn't released when applet instance still on browser ?
    is there a fix to this issue ?
    thanks for helping .

    thanks for prompt reply.
    yes i close all streams...
    the core method i use to upload files is below (client is a FTPClient object)
    private synchronized void putFile(File file, String remoteFile)
                   throws FileUploadException {
              String sFile = null;
              try {
                   sFile = r.chomp(remoteFile, '/');
                   client.put(file.getAbsolutePath(), sFile + file.getName());
                   r.numBytes += file.length();
              } catch (Exception e) {
                   //e.printStackTrace();
                   try {
                        retry(file, sFile);
                   } catch (Exception e1) {
                        throw new FileUploadException(e1.getMessage());
         }what am i doing wrong ?

  • How to start with a maximized Browser

    Hello,
    the first thing what I do when I start Aperture is to maximize the browser, so a question was born:
    Is it possible to start with the preference that aperture starts with a maximized Browser?
    I know it is just a little click on an icon, but I don't need the viewer becuase I got two displays and use the second one for the full images.

    Thanks for the shortcut "v". I didn't know that this one is for the viewer. But I also notice that aperture sometimes forget that I hide the viewer last time. This happens when I change the main display in the systempreferences. It's not a big deal pressing "v", so I do it from now on. But maybe it's a little bug, that aperture forget the preferences while switching the main display.

  • How to create an applet within an application?

    Hi. Im trying to make an applet work within a main application but I cant get it to work because then I have 2 of these and it gives me an error:
    public class java_tester extends JFrame implements MouseListener //MAIN APPLICATION
    public class MusicPlay extends JApplet //APPLET
    I cant have both if them because it is like two different programs.
    Can anyone help me with this?
    Thanks

    ProGenius wrote:
    But when I put public class MusicPlay extends JApplet it underlines it because the name of the main program is different and when I give it the same name it still underlines it. I know it probably is easy to do it but I really dont know how to make it work.
    Thanks a lot for your helpWhat is "it", what is "it" underlining, and why is this a problem? There's no such concept as "main program". If you're confused by the presence of two whole classes, don't be. Anything beyond the laughably trivial will consist of several classes.

  • LightweightDispatcher issue with Applets in Browser using Java 7, not 6

    Spent the last year at work setting up some GUI JApplets for demos our of code. The JApplets house a number of layers of JPanels and JComponents, but should have no heavyweight components as children. I've set up standalone applications that run one of the JApplets as a child of a JFrame, and those demos have no trouble. When I run the same demo but as a JApplet in a browser, I get errors. Please note that the demo is a JApplet but written like the demo that uses a JFrame, so the JApplet causing an issue is a child of the JApplet the browser knows about.
    The issue is seen when the user mouses-over the child JApplet. The listener of the component being moused-over is trying to send an event that the LightweightDispatcher is erroring trying to retarget. It does not seem to find the component that should be receiving the event. For reference, the JApplet implements the mouse-listener interface and is set as the mouse-listener for all its children recursively. Here is the error that is seen:
    Exception in thread "AWT-EventQueue-2" java.lang.AssertionError
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    and it repeats that for every mouse event that tries to fire within the child JApplet.
    Any thoughts on what this could be?
    I had a similar issue with key strokes not finding the focused JComponent within the child JApplet, but I made my own KeyboardEventManager to handle that issue. Unfortunately there are no paths like that to override for the mouse listeners, not to mention that there is no focused object for the events erroring.
    I do see that when I stop adding the mouse-listeners then the error does not appear, so I'm sure its related to that.
    I suppose the most important note here though is that the JApplets were built using Java 6, but the error is seen when running the JApplet with the 1.7 JRE. Also, the JApplet is opened using a JNLP. When the JNLP is set to run at 1.6+ the demo runs fine, when set to 1.7+, the error is seen.
    Please let me know if anyone has seen this or has a solution, or if I should report this as a bug to Oracle.

    This shouldn't be the case. You did make sure you are pointing the applet at the plug in correct? That means you are using an <object> tag as opposed to the <applet> tag in the HTML file?
    If not, run your HTML page through the HtmlConverter that comes with the plugin and try using the resulting HTML.
    Bryan

  • Loading external swf, how to deal with errors within the loaded swf?

    I have a Flex app that basically lets you browse a bunch of thumbnails that represent swf files, when you click a thumbnail it opens a window that loads the actual swf into an image control. The problem I have is that these swfs can be uploaded by our clients, so they may have actionscript errors being thrown, etc. We can't really predict what they may do. Is there a way I can load these swf in such a way as to ignore any errors that the loaded swf may generate within itself.
    For example, one such swf reads some text from a text file to display, but when they are viewing it in this manner the file isn't there so a stream error is generated. My parent Flex app doesn't care about this error and I don't want to see it thrown up in an actionscript error box (I have debug verison loaded on my PC obviously) or interfere with the parent app in any way.
    Would application domains help at all? Would it make a difference if I loaded the swf into a separate domain? Or is there some way I can generically trap any error coming from the loaded swf and just ignore them?
    Any help appreciated.
    Thanks,
    Marcus

    There is no way to catch errors thrown at random times.  Remember that most folks have the release player which does not show error dialogs.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How to format with GTL within vbscript ?

    hi,
    i could not found a solution how to use the formating options from GTL within a vbscript
    based on e.g. Attribute of a Model
    on a Model => i execute a method
    Sub %Method%(obj)
       output "CurrentTargetCode =" + "%CurrentTargetCode%"                 ' is working
       output "CODE-1 =" + "%Code%"                                                   ' i get not the code back ?
       output "CODE-2 =" + "%U:CurrentTargetCode%"                            ' is not upper case and not translated ?  
       output "CODE-3 =" + obj.code                                                     ' is working
       output "CODE-4 =" + obj.getattribute("code")                                 ' is working
       output "CODE-5 =" + obj.getattribute("%code%")                          ' raising an error
    End Sub
    nothin i could use to get an attribute formated back. 
    what i realy want is this
    output "CODE-7 =" + obj.getattribute("%-10.-3:.code%")          
    is there a solution or tipp how to use it from vb scripting ?
    /br
    ps: i know i could use vbscript formating but i want to use the capability of PD.

    Hi,
    You need to use the "EvaluateTextFor" method to instanciate GTL processor withing VBScript.
    change method content with
    <<
    output obj.EvaluateTextFor("CurrentTargetCode =" + "%CurrentTargetCode%")
    output obj.EvaluateTextFor("CODE-1 =" + "%.L:Code%" )
    output obj.EvaluateTextFor("CODE-2 =" + "%U:CurrentTargetCode%" )
    output obj.EvaluateTextFor("CODE-3 =" + obj.code )
    output obj.EvaluateTextFor("CODE-4 =" + obj.getattribute("code") )
    >>
    Marc
    Edit: The output you expect should then be <<obj.EvaluateTextFor("%-10.-3:.Code%" )>>

  • Include Applet Within JSPX

    Can anyone explain to me how to include an Applet within a jspx page?
    Thanks,
    Tim

    Hi,
    I'm using two applets with jspx in my application, and all components works fine.
    I'm not using the &lt;verbatim&qt; tag for applets but only for javascript.
    Here is the code I'm using :
    &lt:applet width="0" height="0" MAYSCRIPT="MAYSCRIPT"
                        code="myapplet.class" codebase="."
                        archive="myapplet.jar"&gt;
                   &lt;/applet&gt;
    rgds,
    Anthony

  • How to create signed applet and make it work with browser

    i hav an applet that needs to write a file to onto local system resource. i came to know that the applet needs to be signed. so i searched some guides to create a signed applet but most of them specify how to use it with applet viewer and not on a browser. plz help me with how to sign an applet and and allow it to write a file from within a browser.

    On linux, something like this:
    keytool -genkey -alias signSocket -keystore socketstore -keypass abc123 -dname "cn=your name" -storepass abc123
    jar cvf Socket.jar *.class
    jarsigner -keystore socketstore -storepass abc123 -keypass abc123 -signedjar SSocket.jar Socket.jar signSocket
    And in html:
    CODE = "YourClass.class"
    ARCHIVE = "SSocket.jar"
    ...

  • How to communicate with another applet in different frame?

    Hello,evryone
    How to communicate with another applet in different frame?
    Can you give some advices?
    thank you!
    zhongboqing

    i faced this problem one year ago.It would be something like that:
    first you have to get the applet context 'getAppletContext()' (which is the current frame).
    Then get parent of that context 'getParent()' (which is the browser context).
    Then u can access the desired frame by its name. Finally you can access the desired applet located within this frame by

  • How to write a applet with multiple menu

    Hi all,
    How to write a applet with multiple menu or please tell me where can I get a examples
    thanks

    i'm writing a project and it seem not work with browser. If anyone can help please leave me a e-mail so that i can send my source to you.
    Thanks so much

  • How to load an applet with older version of JRE?

    Hi All,
    I'm writing an applet which should read the username from the user's system using System.getProperty("user.name") method. I've JRE 1.4.2 in my browser, and it's throwing a AccessControlException whenever the applet is trying to read the "user.name" system property. So, I want to load this particular applet with an older version of JRE, say JRE 1.3. I've tried various approaches like,
    <jsp:plugin type="applet" code="LoginApplet.class" archive="login.jar"
         jreversion="1.3"     iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    </jsp:plugin>
    and also tried OBJECT tag,
    <OBJECT
    classid="clsid:CAFEEFAC-0013-0000-0000-ABCDEFFEDCBA" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"
         width="200" height="200" align="baseline" >
    <PARAM NAME="code" VALUE="LoginApplet.class">
    <PARAM NAME="archive" VALUE="login.jar">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="scriptable" VALUE="true">
    No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!
    </OBJECT>
    I've not tried the simple APPLET tag because we can't specify a java plugin using the APPLET tag.
    In both the above methods, I'm still getting AccessControlException. In Java console, I'm seeing Java Plugin as 1.4.2.
    Can someone tell me is it possible to read the "user.name" system property from user's machine using Applets? If yes, how?
    Thanks,
    Tarun.

    Applets are prevented from doing certain things - reading data is one - to maximize security. You can either add permissions to the computer that the applet is running on, or you can sign the applet.
    See
    http://java.sun.com/docs/books/tutorial/security1.2/tour1/step2.html
    and
    http://forum.java.sun.com/thread.jspa?threadID=686184&tstart=45

  • Testing applets within a browser

    Hello all,
    We are testing an applet within a web browser. As soon as the app opens, it will ask the user to enter user name and pwd in a pop-up window. The openScript hasn't recorded the user inputs while record.
    Any thoughts?
    Regards,
    rookie

    Hum it reminds me a problem I had with a Forms authentication which was NOT supported by OpenScript... Long time ago though.
    First, I guess it's a load test script. Maybe you could tell us what the authentication is. Someone should know. It could then help to solve the problem. I have an example yesterday where we had to manually add the auth in the OpenScript script
    Like:
    http.addAuthentication("http://myapp", "jb",deobfuscate("2domIjZNAvyzbduYz04f/g=="));
    (right click, add other, http, authentication)
    JB

  • How do I access the iTunes Preview page with a web browser?

    Does anyone out there know how to access the iTunes app preview page with a web browser?  So far the only way I've been able to get there is by Googling the app with the term 'iTunes preview'.  Is that really the only way?  The iTunes page itself has no obvious link to the app list.
    Thanks.

    Thanks, but I should have been more specific.  I was trying to access the iTunes app preview page on my PC through Chrome.  While I have an iPad, it's not convenient to have to refer to it every time I want to discuss an iOS app.

  • How do I install Firefox on a computer with no current browser on it?

    I have a laptop with a corrupt browser (Explorer) and I want to install Firebox. But, because the current browser won't launch I have no access to the download site.

    When on different machine, use the '''Chosen Solution'''.
    IF only able to do use machine with problem then can use terminal/dos-prompt two options:
    option #1 Download Google Chrome Without a Web Browser using Windows Command Line
    (Dated: February 7, 2013)
    Link: [http://www.mattsilverman.com/2013/02/download-google-chrome-without-a-web-browser-using-windows-command-line.html link text download-google-chrome-without-a-web-browser-using-windows-command-line]
    option #2 How To Download Firefox Without a Web Browser
    (Dated June 14, 2009)
    Link: [http://www.mattsilverman.com/2009/06/how-to-download-firefox-without-a-web-browser.html how-to-download-firefox-without-a-web-browser]

Maybe you are looking for

  • .swf file is fine but keyboard doesn´t work in IE

    I finish a videogame and within Flash 8 Professional everything is working fine, when I test the animation the characters respond to the keyboard interactivity but when I try to test the .swf in Internet Explorer there is no connection between the ke

  • Extension data not showing in order.jsp & order_change.jsp

    Hi Experts, My requirement is to display the gross weight of the order in Order.jsp,Order_change.jsp. I have implemented the BADI CRM_ISA_BASKET_HEAD and method GETHEAD_GET_DATA to get the gross weight. In the BADI I am using CRM_ORDER_READ to get th

  • How to connect to External Web Service? Error: ICM_HTTP_CONNECTION_FAILED

    Hi all, I have created an External Web Service, and I am trying to call the web service from SAP. I watched some tutorial and did everything like them, but I am getting this error: SOAP:1,023 SRT: Processing error in Internet Communication Framework:

  • Program Window Help

    Hi there I am trying to animate motion of a clip by clicking and draging the clip in the program window. Easy to do, but I have a clip overlayed on top of it that I am trying to match the motion with. My problem is everytime I select the clip to move

  • Problems when waking from sleep

    I tried this in the iMac discussion and did not get a response so i thought I'd try here also. Newest iMac (May 2011), base model, OSX Lion Whenever my computer goes to sleep and i go to wake it up, it never wakes up right.  My touch pad stops workin