Hi,
Is there anyone that worked with an applet? Is that possible?
I have a jsp page and need to turn into NT page to consume the applet inside with variables and return value. This is a sample of a jsp page:
<%@page session="false" %>
<script language="javascript">
   function doInit() {
      // do something
   }
   function myResponse(){
      // do something
      return true;
   }
</script>
<html>
   <head>
   </head>
        <body>
                  <h3>Test</h3>
       </body>
      <form method="post" action="doit" name="myForm" onsubmit="return(myResponse());">
         <input type="hidden" name="action" value="ProcessResponse">
         <input type="hidden" name="response" value="">
         <input type="submit" value="Click me" class=button name="doit2">
         <input type="button" onClick="doInit()" value="Init" class=button name="init">
      </form>
<%
    String version = (String)application.getAttribute("version");
%>
<applet id="oApplet" archive="my-applet.jar" code="classes/my.class" width="1" height="1">
    <param name="aaa" value="<%=version%>">
</applet>
</body>
</html>
Jar file has a path classes and my.class is inside.
I put "javascript" in a file.js, installed in script folder and declared in WebServer. Buttons I can create them inside a WebForm to perform apropriate actions. I donn't know how to declare variable parameters inside XHTML body. The Applet I'm trying to put in PageHeader WebForm, XHTML.
NT loads jar file but don't find my.class inside. I tried many variations but none worked.
Could anyone help me?
Thank you.
Cheers,
Marcos