Specific path to java class file when embedded into HTML; Help urgent

Posted by Jeevanism on Stack Overflow See other posts from Stack Overflow or by Jeevanism
Published on 2012-12-20T05:01:10Z Indexed on 2012/12/20 5:02 UTC
Read the original article Hit count: 95

Filed under:

This is a resonant post to one of my other query due to an error with Java applet embedded into CMS pages.

well, I tell issue:-

Problem:- I have a website using Concrete 5 CMS, in which I have a page that I have embedded a Java applet class. This applet should show the system information which this applet is working fine in simple single HTML pages. now whenever I access my plugin Test page which created in Concrete 5 CMS (this page I embedded this java applet), it shows a Java error. The error is says incompatible Magic Number.

Observation:- After a lot of searching through various tech forums, I finally found that, the issue is happened because the browser cannot load Java class file. The class file path location is wrong. Here below I post the log of server access when I test in my local machine.

> 127.0.0.1 - - [20/Dec/2012:12:59:28 +0800] "GET /linuxhouse/index.php/techlab/java/testvm.class HTTP/1.1" 200 1896 "-" "Mozilla/4.0 (Linux 2.6.37.6-0.9-desktop) Java/1.6.0_29" 127.0.0.1 - - [20/Dec/2012:12:59:29 +0800] "GET /linuxhouse/index.php/techlab/java/testvm.class HTTP/1.1" 200 1896 "-" "Mozilla/4.0 (Linux 2.6.37.6-0.9-desktop) Java/1.6.0_29" <<<<<<<<<<<<<<<<<<<<<

Clearly, the path to Java class file is wrong. But I have no idea how to specify exact path in an embedded code.

Is this a CMS specific issue. I have disabled Pretty URL feature of CMS. But still I cannot find the solution.

here the referred Page that shows the java error.

http://www.linux-house.net/v3/techlab/plugin

pls pls give some insight..URGENT SOS

© Stack Overflow or respective owner

Related posts about java