How to dropjava applet class

Good afternoon everyone:
i have a question about Oracle JVM.
In my JSP file there is a applet call.
After I load the JSP file, the class seems
to be load into the Oracle Database, and even
i modify the class is no useful, how can i
reload the class from DB?
thanks
null

Thanks for your comment .. but it sounds lots of encryption/decryption
involved.. I need somthing very simple... i have seen this code which does this.. here is the code but i am not an javascript expert .. so please
if someone gets any clue let me know...
here is the code ... it just a part of the drop down menu that 's
why it has <a class="drop" syntex in front of it ...
<a class="drop" href="javascript:AnyApplet('y')">My Applet</a><br></div>

Similar Messages

  • How to "Load" Applet class to current Applet?

    I have to write a simple Applet to detect the JVM version of the browser, and the flow is:
    1.Detector.class (Applet) load in a html page, its class version is 1.5
    2.It checks whether the JVM version of the browser is 1.5 / 1.6.
    3.If it is 1.5, a new browser window popup and links to jre download page.
    4.If it is 1.6, it loads a Main.class (Applet), which class version is 1.6
    My question is, if the codes inside the Detector.class detects the JVM version is 1.6, HOW can I LOAD the Main.class (Applet) to the current scene?
    Thanks for any suggestion and help.

    roamer wrote:
    ..My question is, if the codes inside the Detector.class detects the JVM version is 1.6, HOW can I LOAD the Main.class (Applet) to the current scene?
    Thanks for any suggestion and help.I suggest you change the flow.
    1. Go to the applet page with both the Main.class *&* the version check applet.
    2. If <1.6 is detected, have the version check applet redirect to the the 'download Java' page.
    Alternately:
    1. Go to the version check page.
    2. If 1.6+ is detected, redirect to the Main.class page, else redirect to 'download Java' page.
    I developed the [Version Check|http://pscode.org/jre.html] applet that can handle either of those alternatives.
    Another approach is to use the deployJava.js that checks Java versions before launching the applet.
    I also offer Wrapplet to do both the version checking and load 'child' applets. But note:
    1) With the other better alternatives, I have not looked closely at the code in a long while.
    2) Loading one applet in another is possible, but not easy.
    3) I half expect that each new Java micro-version will ruin it.

  • How to hide applet .class name in html under CODE= applet.class?

    I want the user not to know about my .class name in the source code.
    I know there is a way in javascript.
    Does anybody knows how to do it?
    in other words...in the following code ..the user can know what it the .class name of my applet..and can download the NewJApplet.class
    on his/her computer easily..
    remember it could be .class or .jar file FYI.
    Thanks in advance
    <HTML>
    <BODY>
    <P>
    <APPLET  code="NewJApplet.class"  width=800 height=560></APPLET>
    </P>
    <HR WIDTH="100%"><FONT SIZE=-1>
    </BODY>
    </HTML>

    Thanks for your comment .. but it sounds lots of encryption/decryption
    involved.. I need somthing very simple... i have seen this code which does this.. here is the code but i am not an javascript expert .. so please
    if someone gets any clue let me know...
    here is the code ... it just a part of the drop down menu that 's
    why it has <a class="drop" syntex in front of it ...
    <a class="drop" href="javascript:AnyApplet('y')">My Applet</a><br></div>

  • How to capture applet class ?

    When you see an HTML page containing an applet,
    the applet code is downloaded to your browser;
    is it possible to save it in a .class file ?
    Thank you.

    Thanks for your comment .. but it sounds lots of encryption/decryption
    involved.. I need somthing very simple... i have seen this code which does this.. here is the code but i am not an javascript expert .. so please
    if someone gets any clue let me know...
    here is the code ... it just a part of the drop down menu that 's
    why it has <a class="drop" syntex in front of it ...
    <a class="drop" href="javascript:AnyApplet('y')">My Applet</a><br></div>

  • How to extend the JVue applet class using ActiveX Control

    My SR recommendation was to post this here:
    ) How to Extend the JVue Applet class
    This is the preferred solution. However, when using the ActiveX control, my derived JVue class that is specified in autovue.properties is not being instantiated.
    Your ActiveX bridge looks like it's hard coding a "new JVue()" which means I have no integration hook using the ActiveX control.
    To reiterate, if I extend JVue to add functionality and specify it in the autovue.properties, it is picked up when I run it standalone but if I use the ActiveX component, it is not being picked up.
    I have already read all the documentation, have had web conferences with Mahmood and Jeff Chapman and the engineering staff who recommended this approach as the preferred option.

    We have a need to override certain VueBean/JVue method calls to meet our document handling(documents need to handle metadata information and hence change the document loading cycle, ie markup loading/XRef resolution is dynamic). Also the invokeAction/invokeSubAction do not allow parameter passing(which we have requirements for certain actions again due to metadata) so we would like to override the invokeAction method to include custom processing(we will encode the action with parameters).
    We are already using Custom VueActions for other simpler UI event handling that don't have parameter requirements.
    As I said above, these use cases were relayed to the engineering team and senior staff members in early December and we were told that we could proceed with overriding the main class in the autovue.properties file. I have SR(s) opened with a long thread detailing this so I really don't want to go through this again.
    A custom VueAction does not seem to work because it binds to late in the object call/event stream.

  • How to include applet in jsp if applet.class file in another folder

    hi,
    i'm getting problem when my applet.class file is not with its appropriate jsp file. i'm using jsp :plugin tag.it work when jsp file n apllet.class file at same location.
    in short my jsp file is at location /webapps/jsp-examples/myproject/includeDemo.jsp
    n applet i want in a WEB-INF folder.
    Plz help me to solve this..
    or give me other way that an applet can be loaded in jsp page n applet should be in WEB-INF file..
    Help me for this

    http://forum.java.sun.com/thread.jspa?threadID=5148764&messageID=9556205

  • Netscape 's inconsistency in the loading of applets/classes

    Please I will appreciate any help.
    I am using Netscape version 4.75 on a Windows NT platform to launch my application.
    My application is a collection of java classes and applet classes and a gif file all zipped
    into an archive ( zip -o ). These classes are written in the old java version 1.0.2
    (unfortunately).The problem is that when it is launched from a netscape browser,
    sometimes all the classes get loaded but other times the loading fails. The zip file is not compressed since we realized that it was failing more often with a compressed zip file.
    SO we removed the zip file... This is how we are launching the application now but this,
    too, creates a problem because there are incidents of partial or incomplete loading of
    the classes. This application has been in use for over 3 years now, what can I do?
    Please help!
    Ike Eke

    Thanks for you quick response.
    I have not tried a jar. Can I jar these classes that were written in java 1.0.2?
    I have recommended that the application be upgraded to 1.1.x but they say there is
    no money to do that, The customer would not fund it.
    This problem does not occur on IE but we do not support IE any way. We run on HP,SUN,
    and Windows NT platforms but this problem occurs only on NT. This is a production problem
    so it occurs very where there is an NT machine ( over 200 NT users out there).
    This is the version of Netscape that was chosen by the customer and yes it occurs on other netscape versions as well. I thought that jar files came with the emergence of java 1.1.x.
    If it is possible to jar this outdated version of java classes, then I am willing to try it but
    what is required to do this?
    Thanks again
    Ike

  • How to configure applet/servlet in Tomcat?

    I'm building a web application which is going to be deployed in Tomcat. I have an applet(called MYAPPLET here) which "calls" a servlet(called MYSERVLET here). I cannot figure out how to configure the whole thing.
    /test is my docbase. In /test I made a directory "applet classes" and a directory "servlet". The applet tag I use in the HTML file looks like this:
    <applet
    code="MYAPPLET.class"
    codebase="http://localhost:8080/test/applet classes/"
    <!-- Tell the applet where its peer is located -->
    <param
    name="servlet"
    value="http://localhost:8080/test/servlet/MYSERVLET" />
    </applet>
    Now, when opening the page, the applet can be found but Tomcat gives an error 404 saying that it can not find the servlet. On the other hand, If I make an entry in my web.xml (with url mapping
    <url-pattern>/test </url-pattern> or <url-pattern>/test/servlet </url-pattern>, depending on where I put MYSERVLET)
    for the servlet mentioned above and I put the MYSERVLET in either the WEB-INF/classes directory or in /test/servlet Tomcat gives an error 403. It refuses to connect to the servlet!
    Please can anyone help me. THanx in advance
    debeumers

    You are configuring Tomcat and if you have further questions then post new questions in the forum "Java Servlet Technology".
    Given that your servlet url is "localhost:8080/test/servlet/MyServlet"
    This assumes -
    1) You have created a web application called "test". You have a directory called "test" under- $CATALINA_HOME/webapps
    2) Your html files, jsp files, and subdirectory "applet-classes" (Note - do Not use spaces when naming directories) exist in this top level directory of your web app. If you choose to place your applet classes in this subdir then the codebase can be "applet-classes" - omitting the "/" means this directory is located relative to the current directory of the html file. (No jar files? No archive param then..)
    3) You have a class file called "MyServlet" located - $CATALINA_HOME/webapps/test/WEB-INF/classes
    Some versions of Tomcat require you to uncomment out the area of the Mapping for the Invoker Servlet element in $CAT_HOME/conf/web.xml.
    <servlet-name>invoker</servlet-name>
    <url-mapping>/servlet/*</url-mapping>
    Once this is done, you need not create a directory called "servlet" anywhere in your structure. It is the url mapping.
    You will want to apply url-patterns and mappings to your application specific web.xml (This is located in - $C_H/webapps/test/WEB-INF) when it comes time to deploy the app, but that is not required for testing and development. You need not make changes to the app specific web.xml at this time just to get the servlet to run.
    And finally I suggest you read a book on this subject...

  • How to load java class from jsp page?

    hi all!
    Does anyone know how to load java class from jsp page?
    I try to load java class from jsp page.
    Is it possible to load java class fom jsp page?
    thanks and have a good day!

    What I mean is How to load/open java class file from jsp page?
    I think we can open Applet from jsp page by using
    <applet code=helloApplet.class width=100 height=100>
    </applet>
    but, how to open java class which is an application made by Frame?
    thanks and have a good day

  • Netscape.javascript.JSObject outside an applet class

    Hi,
    I need to evaluate some Javascript expressions inside my java code... BUT my code is not inside an Applet class. Does anyone know how to do it?
    I chose to use the netscape.javascript package, it work well inside an applet.. but my application doesn't run inside an applet. When I try to run it inside a standalone application it fails (even if the application extends from the Applet class).
    Here is part of the code:
    public class Applet1 extends Applet {
    public void init() {
    try {
    String out;
    JSObject win = JSObject.getWindow(this);
    out=win.eval("2+3;").toString();
    jLabel1.setText(out);
    System.out.print(out);
    public static void main(String[] args){
    Applet1 app=new Applet1();
    app.init();
    The code runs perfect inside Internet explorer, but it crashes when running in standalone mode.
    Thanks.

    You can also use Rhino to execute JavaScript
    http://www.mozilla.org/rhino/

  • How to publish applet on portlets??

    Hi,
    I try to publish an applet in a portlet, I put the applet class in the same directory which the pages are located but, when I load the page the applet don't load and the same error is displayed:
    load: class Pie_new nor found.
    I put the class in the htdocs and the same directory of the pages but don't work.
    In what directory I must put the applets.
    Regards,
    FABIAN

    Hello, thanks for help.
    I have the next entry in the jserv.properties:
    wrapper.clssspath=D:\oracle\ora81\Apache\Apache\htdocs\stackp\java\pie.jar
    In this directory are the class that i need.
    It's dont working, I don't know if I had initializated, I don't know how.
    Tell me the steps please, the portal version is: 3.0.7.6.2
    Thanks.
    FABIAN
    null

  • How to run applet within packages in tomcat

    I have servlet packages and applet packages in my application. I can successfully called my servlet packages by using:
    http://localhost/servlet/mypackage1.mypackage2.myServlet
    However, I can't call my applet packages by using:
    http://localhost/myapplet.html
    <Applet
    CODE = "myApplet.class"
    BASECODE = "mypackage1.mypackage2/"
    </Applet>
    I am currently using tomcat default web services directory structure as follows:
    webapps\ROOT\WEB-INF\classes\mypackage1\mypackage2\myServlet.class
    webapps\ROOT\mypackage1\mypackage2\myApplet.class
    I received the following error:
    noClassDefFoundError:myApplet (wrongname: mypackage1\mypackage2\myApplet)
    Thanks in advance for any helps.

    This doesn't have anything do with servlets. Your
    problem, as you said, is how to write the HTML to run
    an applet. Whatever is trying to load that HTML
    doesn't know anything about your servlets and doesn't
    care. I think it is complaining because you did or
    didn't put your applet in the (badly-named) package
    mypackage1.mypackage2.The package names I used was just an example. My real package names were really long and 10 levels deep so I didn't want to use it. I finally figured out how to tell the browser to find my applet class package. Using my original example (with the bad package names):
    <Applet
    CODE = "mypackage1.mypackage2/myApplet.class"
    </Applet>
    I removed the codebase and just put the package class file in the root directory.
    I am sure there are more than one way to make this thing work but this is how I got my to work. Thanks.

  • How to run applets on the internet?

    I want my applet class run on the Internet but not in the Internet browser but instead maybe in appletviewer or something else...For example in java.sun.com the chatroom is an applet and it doesn't run in browser as I understand.because when I clicked on the exit button on the right most side, it understands that I clicked on it which means that it has got window events(e.g. windowclosing) which belongs to appletviewers.But I think internet browsers doesn't have such a capability to understand these windowevents.So the question is: how can I run my applet over the Internet without running it on the browser? or how I can make the browser understand that the windowclosing event occured on it?
    thanks for your attention??

    what chatroom are you talking about ?

  • Applet classes trouble

    okay feeling stupid but here i go again
    i've been working on this program for a long time. it compiles it runs but it soesn't do anything. the applet comes up starts and then doesn't present a single thing. the Engine class seems to be placed on the applet but none of the others. Can someone please tell me what I've done wrong? I enclose an approximation of the source code in question. I think the problem is that the other classes information is not being passed to the applet. I don't know if the problem is in where the applet is declared at the top or in the add statement in each class. Should I structure the add statement differently? I don't know how -add(state2)- can tell it where to add the information.
    <applet code = "Engine" width=200 height=200>
    </applet>
    class state2{
    public void listq(){
    (list state2 defined)
    add(state2);
    class profession2{
    public void listp(){
    class major2{
    public void listm(){
    list major2 defined
    add(major2)
    class color2{
    public void listc(){
    list color2 defined
    add color2;
    class gender2(
    public void listg(){
    list gender2 defined
    add(gender2);
    public class Engine{
    public void init(){
    gender2 a = new gender2()
    a.listg();
    profession2 b = new profession2
    b.listp();
    major2 c = new major2();
    c.listm();
    color2 d = new color2();
    d.listc();
    race2 e = new race2();
    e.listr();

    First of all,
    public class Engine{should be
    public class Engine extends Applet{
    and secondly - where do you actually send output to the applet (paint method?) If you try to do this within each object's list() method, then that object would need to be passed a reference to the applet so it could access the graphics context.
    If this makes no sense, I'd recommend posting all the code.

  • How to download applet for offline viewing!!

    How to download applet for offline viewing!!

    View source on the web page containing the applet. It will point ot a file.class
    Then change your URL to that file and it should download it.
    Lucas

Maybe you are looking for

  • Generating a PDF of what the user sees, and sending it as a binary stream to the server

    Hi All, On the final page of our Flex app, we allow the user to print out a copy of everything they've entered for their own records. I'm wondering if there is a way for me, programmatically, to generate a PDF document that is the same as their print

  • How migrate from older time machine backup (not the latest)?

    My old Snow Leopard Mac had a dying hard drive. In the last few days, files were disappearing left and right. I bought a new Lion Mac, but I don't trust the Time Machine backup for the last few days and I would like to migrate the backup from just be

  • E-mailed files unopenable after updating to 10.4.10

    Since updating to 10.4.10 none of the files I send can be opened by the reciever. This applies to .mov .doc. and .pdf files to name but three. The .mov files I upload to my .mac account play in my .mac web pages, but not when recieved by third partie

  • Exclamation Point and Folder

    Gen 4 I believe- 20 GB click wheel When the iPod is turned on I get the logo for a second then the message "www.apple.com/support/ipod" The battery is charged. I tried to restore, after several tries it appeared to complete but no change. The update

  • Email PDF with data not XML

    Good day everyone, I have designed a form with two email buttons, ie Send To Manager and Submit Form. Now what I want to happen is this: When one of the buttons is clicked, I want the recipient to receive a PDF form (NOT an xml) with all the datat th