Html form - java applet

Hi friends
I have an html form with an editable textfield on it. Next to it is an Java Applet with an Button on it. If you klick the button, a Popup aperars where the textfield can be modified. There is also an OK Button on this Popup. If you klick the Button, I want that the value of my string will be plased into the html form.
If anyone knows how that works. Please help me.
thanks kendiman

Sweet, I was wondering how to do that.
So if one was to design a menu using java, the external Java Script can access the public variables within the applets?
So if we had
public class applet extends Applet {
   public int test;
   public applet() {
      test = 6;
}then the javascript command
document.applet.test
would return a 6?
Do I have this correctly?
Dale M

Similar Messages

  • Newbie: Is the CMS output HTML or Java applets?

    Hi!
    I am looking for what software to buy: Microsoft or Oracle.
    In that regard, I see that Java is the development language. Does this mean that the web-interface for clients is based on Java applets, or does the Java-application just generate HTML-code like asp.NET, php and similar server-side languages?
    Thanks!

    The old Oracle 9iFS web interface was based on Java and JSP, and as such, was an HTML-based interface. It did not use applets.
    The new Oracle CMSDK will include a web starter application sample (with source code) also based on Java and JSP, which is also an HTML-based interface that does not use applets.
    The CMSDK is a development platform, and you could write a web interface based on Java applets if you wanted to, or based on HTML technologies such as servlets (J2EE) or JSP. You can also write standalone client software in any language that communicates with the CMSDK server using a protocol, such as HTTP. You may define your own protocol and write your own protocol server (in Java), or you may use an existing protocol, like WebDAV/HTTP.
    See the CMSDK developer's guide for more information.

  • Display HTML in Java Applet

    Is it possible to display HTML text in some control in Applet. I do not want to use the swing class for that. please guide me. I am currently using the TextArea to display text which displays text only in a single color. But I want to display text in multicolor. How to do it. If possible please show me with an example.

    You will have to write your own component. Look at java.awt.FontMetrics to get the size of a string. Use
    g.setColor(Color.blue);
    Graphics.drawString(myString,x,y);
    to draw a blue string.

  • Acces html form from applet...

    Hi. I want to access some <INPUT> box of some FORM of a HTML page
    from an applet loaded by this page. How can I solve this problem?
    Thank very much for any suggestion.
    FM

    <script>
    function f11()
    The method to call applet
    and method in applet method_Applet(String D)
    ap.method_Applet(document.forms[0].tx1.value);
    </script>
    <body>
    <form>
    <input type=text value="text" name=tx1>
    <input type=button onclick=f11()>
    </form>
    <applet code=sample name=ap width=400 height=400>

  • How can an applet retrieve the values of a HTML form shown in a JEditorPane

    Hi,
    I'm doing an applet that contains a JTree and a JEditorPane
    among other components. Each node of the JTree represents some
    information that is stored in a database, and whenever a JTree
    node is selected, this information is recovered and shown in
    the JEditorPane with a html form. To make the html form,
    the applet calls a servlet, which retrieves the information of
    the node selected from the database. This information is stored
    like a XML string, and using XSLT, the servlet sends the html
    form to the applet, which shows it in the JEditorPane.
    My problem is that I don't know how I can recover new values
    that a user of the application can introduce in the input fields
    of the html form. I need to recover this new values and send them
    to another servlet which store the information in the database.
    If someone could help me I'd be very pleased.
    Eduardo

    At least I found a fantastic example. Here it is:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.net.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    public class FormSubmission extends JApplet {
    private final static String FORM_TEXT = "<html><head></head><body><h1>Formulario</h1>"
    + "<form action=\"\" method=\"get\"><table><tr><td>Nombre:</td>"
    + "<td><input name=\"Nombre\" type=\"text\" value=\"James T.\"></td>"
    + "</tr><tr><td>Apellido:</td>"
    + "<td><input name=\"Apellido\" type=\"text\" value=\"Kirk\"></td>"
    + "</tr><tr><td>Cargo:</td>"
    + "<td><select name=\"Cargo\"><option>Captain<option>Comandante<option>General</select></td>"
    + "</tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"Enviar\"></td>"
    + "</tr></table></form></body></html>";
    protected HashMap radioGroups = new HashMap();
    private Vector v = new Vector();
    public FormSubmission() {
    getContentPane().setLayout(new BorderLayout());
    JEditorPane editorPane = new JEditorPane();
    editorPane.setEditable(false);
    editorPane.setEditorKit(new HTMLEditorKit()
    public ViewFactory getViewFactory() {
    return new HTMLEditorKit.HTMLFactory() {
    public View create(Element elem) {
    Object o = elem.getAttributes().getAttribute(javax.swing.text.StyleConstants.NameAttribute);
    if (o instanceof HTML.Tag)
    HTML.Tag kind = (HTML.Tag) o;
    if (kind == HTML.Tag.INPUT || kind == HTML.Tag.SELECT || kind == HTML.Tag.TEXTAREA)
    return new FormView(elem)
    protected void submitData(String data)
    showData(data);
    protected void imageSubmit(String data)
    showData(data);
    // Workaround f�r Bug #4529702
    protected Component createComponent()
    if (getElement().getName().equals("input") &&
    getElement().getAttributes().getAttribute(HTML.Attribute.TYPE).equals("radio"))
    String name = (String) getElement().getAttributes().getAttribute(HTML.Attribute.NAME);
    if (radioGroups.get(name) == null)
    radioGroups.put(name, new ButtonGroup());
    ((JToggleButton.ToggleButtonModel) getElement().getAttributes().getAttribute(StyleConstants.ModelAttribute)).setGroup((ButtonGroup) radioGroups.get(name));
    JComponent comp = (JComponent) super.createComponent();
    // Peque�a mejora visual
    comp.setOpaque(false);
    return comp;
    return super.create(elem);
    //editorPane.setText(FORM_TEXT);
    editorPane.setText(texto);
    getContentPane().add(new JScrollPane(editorPane), BorderLayout.CENTER);
    private void showData(String data) {
         // ergebnis significa resultado
    StringBuffer ergebnis = new StringBuffer("");
    StringTokenizer st = new StringTokenizer(data, "&");
    while (st.hasMoreTokens()) {
    String token = st.nextToken();
    String key = URLDecoder.decode(token.substring(0, token.indexOf("=")));
    String value = URLDecoder.decode(token.substring(token.indexOf("=")+1,token.length()));
    v.add(value);
    ergebnis.append(" "); ergebnis.append(key); ergebnis.append(": "); ergebnis.append(value); ergebnis.append(" ");
    ergebnis.append(" ");
    JOptionPane.showMessageDialog(this, ergebnis.toString());
    public static void main(String[] args) throws Exception {
    JFrame frame = new JFrame ();
    FormSubmission editor = new FormSubmission ();
    frame.getContentPane().add(editor);
    frame.pack();
    frame.show();
    }

  • The window of a java applet is not displayed by Netscape7.1.

    I am using Netscape7.1.
    A parent window is only what opens a new window.
    Please see index.html.
    --------index.html--------
    <HTML>
    <HEAD><TITLE>OYA</TITLE></HEAD>
    <BODY>
    <FORM>
    <CENTER><BR><BR><BR><BR><BR><BR><BR><BR>
    <input type="button" onClick="WIN=open('KODOMO.html', 'win_new_comp', ''); WIN.focus();" value="Open the Window">
    </FORM>
    </CENTER>
    </BODY>
    </HTML>
    There is a button of "CLOSE" with the Java applet called "SimplaApplet.class" in the window opened newly.
    Please see KODOMO.html and SimplaApplet.java.
    --------KODOMO.html--------
    <html>
    <title>Using Applet</title>
    <body>
    <FORM>
    <CENTER><BR><BR><BR>
    <!-- for IE -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"width="100" height="50">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
    <PARAM NAME="java_CODE" VALUE="SimpleApplet">
    <COMMENT>
    <!-- for Netscape-->
    <EMBED type="application/x-java-applet;version=1.4"
    width="100" height="50"
    code="SimpleApplet">
    </EMBED>
    </COMMENT>
    </OBJECT><BR><BR><BR><BR><BR><BR>
    <INPUT TYPE="button" VALUE="CLOSE" onClick="window.close()">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    --------SimpleApplet.java--------
    import java.awt.*;
    import java.applet.*;
    public class SimpleApplet extends Applet {
    public void paint (Graphics g) {
    g.drawString("Simple Applet", 10, 30);
    The following operations are performed at this time.
    Step1: "Open the Window" is clicked by index.html.
    Step2: "CLOSE" is clicked by KODOMO.html.
    Step3: "Open the Window" is again clicked by index.html.
    Then, in second KODOMO.html, a Java applet and a "CLOSE" button are never displayed.
    If the same thing is performed by IE6.0 or Netscape4.75, this bug will not happen.
    Please let me know what is bad and whether there is any evasion measure.

    It forgot to write.
    The version of JavaPlug-IN is 1.4.2_03.
    OS is the Windows2000 Japanese version.
    Please access confirming this bug at the following HTML.
    http://web-p.wics.ne.jp/char_audi/index.html

  • Forms Client Java Applet waiting several minutes

    Hello,
    We use Forms 10.1.2.0 and html/javascript/plsql applications.
    All forms applications are working but
    we have the problem that from time to time the client java applet must wait minutes until there is an answer from the forms-servlet (especially when there is high activity in the system).
    More than one user is working in the form with high activity - the applet sends a request
    over the network - after 4 minutes the result is shown and you can go on working
    without problems.
    So a lot of users think the application has crashed and terminate before.
    The applet shows no error messages.
    There is no sign that there is a lost connection between applet and servlet.
    It is not reproducible. That means you can work 2 hours and everything is ok
    or you work 5 minutes and you have to wait.
    network problems?
    firewall problems?
    do requests of the forms servlet to the database have minor priority on the application server
    than html/plsql requests?
    any ideas?

    when the problem occurs (user has to wait 3-4 minutes) we found in the log
    3 heartbeats from the forms client within 2 seconds ?
    after 3-4 minutes the forms client is ok (user can go on working)
    and the pings are every 2 minutes (like it is expected).
    The application.log file may contain duplicate posts requests with
    identical pragma header numbers, indicating that the client
    is resending
    requests due to network packet losses. Under normal circumstances,
    only the last Post request, terminating a Forms session,
    should contain
    a duplicate pragma header number.
    ...a network problem ?
    anyone else who had the same problem ?

  • Java Applet in a HTML page: failing with PLS-00306: wrong number of args

    We are trying to use a Java Applet in a HTML page. as our system needs to be able to retrieve a predefined set of data from a third party system that uses Dynamic Data Exchange Protocol (DDE) and are encountering errors from APEX and in IE itself.
    We are using JavaDde from www.nevaobject.com that enables our Java applet to interact with Windows applications (Third Party System) using DDE.
    This functionality is currently used in our Web Form 6i application and we are trying to use the same in the new ApEx application.
    We are using ApEx version : 2.1 and actually aer encountering 2 problems:
    Problem 1: ApEx failing with PLS-00306: wrong number or types of arguments in call to 'ACCEPT'
    Problem 2: IE crashes if Applet used in a complex page with several regions (1 Context, 4 Report Regions, 2 level Tabs, Links)
    This problem does not occur in the page where there is only applet and one region. In the case of complex page the IE crashes if the page is reloaded
    Test scenario:
    1- Create a simple page with the HTML region.
    2- Define the Source of the above region as follows
    <OBJECT CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    CODEBASE="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#version=1,4,0,0"
    WIDTH="1"
    HEIGHT="1"
    ID="simpleApplet"
    NAME="simpleApplet">
    <PARAM NAME="code" VALUE="simpleApplet.class" >
    <PARAM NAME="archive" VALUE="simpleApplet.jar" />
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
    </OBJECT>
    3- Create a simple Java applet "simpleApplet" - for the test its enough if the applet will have just the init method printing out the mesage to the console
    4- Create a Submit Button (not redirect) in Region Header and create unconditional (do not set When Button Pressed property) Page Branch to navigate to another page (the page without the applet)
    6- Run the page and Submit -
    The error below is returned by the engine:
    In our case our applet is called ddeApplet - I do not know why is ApEx passing the Applet's ID down to the wwv_flow.accept method as a parameter
    Tue, 24 Jul 2007 08:15:39 GMT
    ORA-06550: line 7, column 2:
    PLS-00306: wrong number or types of arguments in call to 'ACCEPT'
    ORA-06550: line 7, column 2:
    PL/SQL: Statement ignored
    DAD name: rbdev2_ax
    PROCEDURE : wwv_flow.accept
    URL : http://castor:7778/pls/rbdev2_ax/wwv_flow.accept
    PARAMETERS :
    ============
    P_FLOW_ID:
    147
    P_FLOW_STEP_ID:
    500
    P_INSTANCE:
    6986070096861669560
    P_PAGE_SUBMISSION_ID:
    1005758
    P_REQUEST:
    CRASH
    P_ARG_NAMES:
    100380029717786501
    P_T01:
    147
    P_T02:
    101
    P_T03:
    5000044
    P_T04:
    1
    P_T05:
    S
    DDEAPPLET:
    Ddeapplet[panel0,0,0,1x1,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,1x1,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
    P_MD5_CHECKSUM:
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle HTTP Server Powered by Apache/1.3.19 (Unix) mod_fastcgi/2.2.10 mod_perl/1.25 mod_oprocmgr/1.0
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=7778
    SERVER_NAME=castor
    REQUEST_METHOD=POST
    QUERY_STRING=
    PATH_INFO=/pls/rbdev2_ax/wwv_flow.accept
    SCRIPT_NAME=/pls
    REMOTE_HOST=
    REMOTE_ADDR=192.168.66.169
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=
    HTTP_CONTENT_LENGTH=661
    HTTP_CONTENT_TYPE=application/x-www-form-urlencoded
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    HTTP_HOST=castor:7778
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=ISCOOKIE=true; LOGIN_USERNAME_COOKIE=rdanko; ORACLE_PLATFORM_REMEMBER_UN=RDANKO:ngrb; WWV_FLOW_USER2=70FBB00945FE46B9; V6_AUTHENTICATION_COOKIE=70FBB00945FE46B9
    Authorization=
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://castor:7778/pls/rbdev2_ax/f?p=147:500:6986070096861669560:::::
    HTTP_SOAPACTION=

    "theArrow",
    It looks like whatever HTML you're including on your page is creating HTML input form elements inside the HTML form "wwv_flow". This form is posted to wwv_flow.accept, and of course, the PL/SQL procedure wwv_flow.accept doesn't know anything these additional arguments/form elements you're attempting to POST.
    Joel

  • Is it possible to mimic a submission of html form in Java Swing

    Helppp!!!!
    I want to create a swing applet (The plugins are installed) that would submit to a servlet. The servlet is having a doPost method. Now How do I form fields (that is textfield, hidden field) in a swing environment.
    The same attempt if made in a normal HTML document, I get the results.
    But how to do it swing environment.
    I have seen classes called FormView, HTMLDocument etc in javax.swing.text.html package. The documentation also says that a input type=button will be intrepreted as JButton. There is also a method called as "submitData()" in the FormView class.
    But how actually do you use it.
    Or is there any other way.
    Can anyone help me out please?
    Thank you
    MrWrongBoy

    You could simply let the JTextPane load up an HTML page with a form for you which in turn you can fill out and submit to your servlet. And here is my working sample:
    public class HTMLFormJApplet extends javax.swing.JApplet {
        public void init() {
            initComponents();
            htmlPane.setEditable(false);
            String page_name = getParameter("page_name");
            try
                htmlPane.setPage(new java.net.URL(getDocumentBase(),page_name).toExternalForm());
            catch(Exception e)
                e.printStackTrace();
        private void initComponents() {
            jScrollPane1 = new javax.swing.JScrollPane();
            htmlPane = new javax.swing.JTextPane();
            jScrollPane1.setViewportView(htmlPane);
            getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JTextPane htmlPane;
    --------------- HTMLFormJApplet.html -------------------
    <applet codebase="." code="HTMLFormJApplet.class" width="350" height="350">
    <param name="page_name" value="testform.html">
    </applet>
    --------------- testform.html --------------------------
    <form method="POST" action="myservlet">
    <font color="green">First Name:</font><input type="TEXT" value="firstname" value="wally"><br>
    <input type="SUBMIT" value="Submit">
    </form>

  • Load: class oracle.forms.engine.Main not found Stuck at loading Java Applet

    Hi there
    I have recently installed App Server 10.1.2.0 on a new machine.
    Copied all my forms to an appropriate directory. Set up formsweb.cfg to allow them to run and have attempted to run them.
    Unfortunately I get stuck at the Loading Java Applet screen, and in the status bar at the bottom it says :
    load: class oracle.forms.engine.Main not found
    I have taken a look at the Java Console, and the 2 things that jump out at me are that it appears to be looking for a forms90 directory, which seems odd since I am using App Server 10.1.2.0.2 and Forms Builder 10.1.2.0.2 meaning it should be looking in a forms directory not forms90 directory shouldnt it ?
    And also, it mentions class with no proxy, so on looking around the forums it has been suggested that put the proxy details into jinitiator, which I have done, but this has made no difference either.
    Can anyone suggest anything else please ?
    Java Console log follows.
    Thanks a lot
    Scott
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\hilliers
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Unregistered modality listener
    Removed trace listener: sun.plugin.ocx.ActiveXAppletViewer[oracle.forms.engine.Main,0,0,914x613,layout=java.awt.BorderLayout]
    Sending events to applet. STOP
    Sending events to applet. DESTROY
    Sending events to applet. DISPOSE
    Sending events to applet. QUIT
    Finding information...
    Releasing classloader: sun.plugin.ClassLoaderInfo@d9850, refcount=0
    Caching classloader: sun.plugin.ClassLoaderInfo@d9850
    Current classloader cache size: 1
    Done...
    Registered modality listener
    Referencing classloader: sun.plugin.ClassLoaderInfo@d9850, refcount=1
    Added trace listener: sun.plugin.ocx.ActiveXAppletViewer[oracle.forms.engine.Main,0,0,914x613,invalid,layout=java.awt.BorderLayout]
    Sending events to applet. LOAD
    Sending events to applet. INIT
    Sending events to applet. START
    Determine if the applet requests to install any HTML page
    HTML Installation finished.
    Opening http://appserver008/forms90/java/oracle/forms/engine/Main.class
    Connecting http://appserver008/forms90/java/oracle/forms/engine/Main.class with no proxy
    Opening http://appserver008/forms90/java/oracle/forms/engine/Main.class
    Connecting http://appserver008/forms90/java/oracle/forms/engine/Main.class with no proxy
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    You're a star, thanks.
    In my haste I had cut too much out of my old formsweb.cfg file and not realised I'd done it.
    Thanks Francois.

  • Forms for Web: To Java Applet or Not To Java Applet?

    As I understand it, the only way to get a forms application onto the Web is to utilize the forms server and the Java Applet UI client. I was wondering if people had any issues with the fact that the only deployment method is a Java Applet? Have any of you avoided forms because of this? Are there any options for getting forms into HTML?
    Thanks in advance,
    Armeen

    Please check SAP Note 2156305.
    You can re-enable NPAPI with the following URL: chrome://flags/#enable-npapi and then click on "Enable" for the NPAPI plugin.

  • HTML - FORMS Integration is giving some problem in java console

    Hi ALL,
    I have done HTML-FORMS integration, I am facing some problem in the Java console,
    Here I am pasting a par of it, all Java Console appears same
    Java Plug-in 1.5.0_12
    Using JRE version 1.5.0_12 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\165212
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NoClassDefFoundError: sun/awt/DesktopBrowse
         at sun.plugin2.applet.Applet2Environment.initialize(Unknown Source)
         at sun.plugin2.main.client.PluginMain.handleMessageSetJVMID(Unknown Source)
         at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
         at sun.plugin2.main.client.PluginMain.run(Unknown Source)
         at sun.plugin2.main.client.PluginMain.main(Unknown Source)
    security: property package.access value sun.
    security: property package.access new value sun.,com.sun.javaws
    security: property package.access value sun.,com.sun.javaws
    security: property package.access new value sun.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@18e4327
    network: No certificate info for unsigned JAR file: https://172.19.31.145/forms/java/JavaComponent.jar
    network: Cache entry found [url: https://172.19.31.145/forms/java/JavaComponent.jar, version: null]
    network: Connecting https://172.19.31.145/forms/java/JavaComponent.jar with proxy=DIRECT
    security: Loading Root CA certificates from C:\Program Files\Java\jre1.5.0_12\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files\Java\jre1.5.0_12\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files\Java\jre1.5.0_12\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files\Java\jre1.5.0_12\lib\security\cacerts
    security: Loading Deployment SSL certificates from C:\Documents and Settings\165212\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loaded Deployment SSL certificates from C:\Documents and Settings\165212\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Connecting https://172.19.31.145/forms/java/JavaComponent.jar with cookie "jsessionid=2_JDiw1SfhDcKwGvf2RPYUeEFCaZ6RIefy-n26w60AsXN00aTd"
    network: Server https://172.19.31.145/forms/java/JavaComponent.jar requesting to set-cookie with "jsessionid=2_JDiw1SfhDcKwGvf2RPYUeEFCaZ6RIefy-n26w60AsXN00aTd; Path=/; Secure"
    network: ResponseCode for https://172.19.31.145/forms/java/JavaComponent.jar : 304
    network: Encoding for https://172.19.31.145/forms/java/JavaComponent.jar : null
    network: Disconnect connection to https://172.19.31.145/forms/java/JavaComponent.jar
    network: No certificate info for unsigned JAR file: https://172.19.31.145/forms/java/JavaComponent.jar
    cache: Had to use super.getManifest() to set manLoaded
    java.lang.Exception: AAA
         at com.sun.deploy.cache.CachedJarFile$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CachedJarFile.ensureAncestorKnowsAboutManifest(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.<init>(Unknown Source)
         at com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
         at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
         at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         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)
    cache: Had to use super.getManifest() to set manLoaded

    Java Plug-in 1.5.0_10-erdist
    Using JRE version 1.5.0_10-erdist Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\ruddas
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Trace level set to 5: all ... completed.
    network: Connecting http://rws60132rems.us.oracle.com:8009/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar with cookie "r12umx10=Dk5dwJEksicWgA9gQHukXQzh:S; oracle.uix=0^^GMT+5:30^p"
    network: ResponseCode for http://rws60132rems.us.oracle.com:8009/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar : 304
    network: Encoding for http://rws60132rems.us.oracle.com:8009/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar : null
    network: Disconnect connection to http://rws60132rems.us.oracle.com:8009/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar
    cache: Had to use super.getManifest() to set manLoaded
    java.lang.Exception: AAA
         at com.sun.deploy.cache.CachedJarFile$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CachedJarFile.ensureAncestorKnowsAboutManifest(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.<init>(Unknown Source)
         at com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
         at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
         at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
         at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         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)
    cache: Had to use super.getManifest() to set manLoaded
    java.lang.Exception: AAA
         at com.sun.deploy.cache.CachedJarFile$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CachedJarFile.ensureAncestorKnowsAboutManifest(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.<init>(Unknown Source)
         at com.sun.deploy.cache.CacheEntry$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CacheEntry.getJarFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCachedJarFile(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         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)
    cache: Had to use super.getManifest() to set manLoaded
    java.lang.Exception: AAA
         at com.sun.deploy.cache.CachedJarFile$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CachedJarFile.ensureAncestorKnowsAboutManifest(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.<init>(Unknown Source)
         at com.sun.deploy.cache.CachedJarFile.clone(Unknown Source)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         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)
    I am alos facing the same problem with ie 8

  • Using a java applet as form

    hi there,
    I'm new to programming applets (but not new to java and gui programming).
    Here's my question:
    I would like to use a java applet with a textfield as form input. is this possible?
    I see some several advantages over using standard html textfields and java script. (f.e.: I can set the cursor to any position after changing the text in the field).
    I'm thinking on a solution by my own. Would it be possible to use a java script method to access a property from the applet? so I could use a combination of java applet, html and java script. On the onClick() event I read the actual value from the applet and do some normal post request. Any better suggestions?
    thx
    soa

    I want to write the textfield in java. So I use the applet as form.
    What would be your suggestion?
    Write an applet with an textfield and and getValue() method? So I could create a normal html button and use javascript to write a method wich acces this getmethod. So I could register this method to the onClick() event.

  • How to submit a html form using java

    hi friends,
    i have a html form with some input fields, when ever a user submit the form the user information is stored in the database. is it possible to pass the user information in the url(url rewriting) and submit it by a java program so that the data will be stored in the database, as like as, user submit it manually.
    for eg:
    /*sample.html*/
    <form action="store.jsp" method="post">
    User Data:<input type="text" name="userdata">
    <input type="submit">
    </form>
    in my java is it possible to store the record as below:
    URL url=new URL("http://localhost:7001/webapp/store.jsp?userdata=AutomaticDatasave");
    URLConnection con=url.openConnection();
    int i=0;
    while((i=con.getInputStream().read())!=-1)
    System.out.print(i);/*it has to print the data that store.jsp is returned like information stored or error storing data(what ever)*/
    }Edited by: rajaram on Oct 27, 2007 1:01 AM

    hi Drclap,
    Thanks for your reply, which is helpful to me....
    tried what you said, what i did is modified the code like below
    con.setDoOutput(true);
    BufferedWriter br=new BufferedWriter(new InputStreamWriter(con.getOutputStream()));
    String str="userdata=AutomateDataSave\n";
    br.write(str,0,str.length());
    br.flush()But
    Iam Getting Internal Server Error
    Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL
    Edited by: rajaram on Oct 27, 2007 1:24 AM

  • Can  Java be used to save content of HTML form to a file?

    We have an application that saves a pdf file to a location on our webserver. The file displays on the users machine in a browser window. I have created a link in the links bar of the browser window which launches a simple HTML page. This page allows the user to enter a number of fields and click 'SAVE'. This is where I am having the problem. I need the save button to firstly create a csv file on the webserver containing the details input by the user. I then need the pdf file saved to the web server with a new name and in the same location as the csv file. is there anyway to achieve this using Java or can anyone please point me in the right direction?
    Thanks

    <<Click on the SAVE button in an HTML <form> and the browser will perform an HTTP POST of the data to a URL. Make that URL point to a Java servlet and it can take that form data
    <<and write it to the webserver file system in any format you wish, including csv and pdf.
    agree with duffy. You can also use JSP and call a class method to handle whatever data you specify.
    orozcom

Maybe you are looking for

  • Switching harddrive between two macbooks ...

    I have a Macbook pro 13" (May 2009) and I want to buy the latest Macbook pro 13" model. In my existing model, I have a 256MB SSD disk with all my existing software and data, and therefore I don't wanna pay big bucks for an SSD disk in the new one of

  • Key Figure Attribute not displaying in Query Designer

    Hello Experts, I have an InfoObject which has Key Figures as attributes.  When creating a query I <b>once</b> was able to see these Key Figure attributes in the Query Designer.  Howerver, recently I am not able to see them anymore in our DEV environm

  • Officejet 6500A plus .

    tried to send fax.  failed- message "redial in 0 sec"  never does.  cancelled operation in computer, have turned 6500A off and on sevaral times - same message appears.  no change. help

  • Snapshot Isoation

    Hi Everyone, In the documentation related to snapshot isolation level it is mentioned that for better performance with MVCC 1) larger cache size should be used 2) shorter transacitons should be used. This question is focused on second aspect. In my a

  • Outbout delivery -Material not defaulting to QI for GR

    Hi all, The issue is while GR for an Outbound delivery the material is not going to QI stock .I checked the material master QM view ,but everything is maintained in the inspection setup.Any idea on why it is not defaulting to QI stock?Please advice T