I'm trying to embed an applet in a JSP page. I written like this.
My applet is in the package called 'Applets'. my jsp page and java classes are build in a way of normal webapplication structure.
When i try to execute the jsp page, it is giving error like below..
From the above error, my application path is http://localhost:9090/TranslationTool/
I also tried to add codebase='.'. But no use.
Please help me in this.
SCJP 5.0(84%), SCWCD 5.0(97%), SCDJWS 5.0(98%)
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35224
7
posted
0
Is "http://localhost:9090/TranslationTool/Applets/FileApplet.class " the correct path? In other words, can you download the class file if you paste that URL into the browser?
My applet is in the package called 'Applets'.
The "code" attribute must contain the fully-qualified class name, including the package. Remove the "codebase" attribute.