File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet using Tomcat

 
Graziani Gabriele
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i've done an applet and i've insert the applet html tag in a servlet class.
When i try my applet in a browser it works as well,
but when i try it under tomcat it doesn't work: "load applet-name not found".
Another thing i've noted is that java compiler of jdk_sdk1.3 compile the applets even creating a .java~ file and the browser run it correctly.
When i try to compile it with the jdk_sdk1.4 the compiler produce only a .class file but the browser don't load it.
Why?
Thanks,Gabri
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Try giving the full path in codebase from the context.

<jsp lugin type="applet"
code="abc.class"
codebase="/SP/src/com/sp/"
name="applet"
archive="archiveURI"
align="middle"
height="370"
width="600"
>
<jsp:fallback>problem with plugin</jsp:fallback>
</jsp lugin>
 
Graziani Gabriele
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for reply, in fact it works with a base-tag.
Have u idea about the difference beetween the compilers?
Thanks
Gabriele
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic