• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet codebase tag does not seem to work

 
sarim raza
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whether it is moving up one direcotry or moving up and then down into sub directories the codebase tag seems to go unnoticed. it only works if i keep the applet class in the same directory as the jsp files that is using this applet, and in that case i dont need codebase.
I use the following, i basically have to move one directory up and then down two ...
<applet codebase="../WEB-INF/classes/" code="Bid.class" width=800 height=500 hspace=100 vspace=100> </applet>
 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The source must not be at the toplevel
of your 'public_html' directory tree to be able to use relative adressing. ../ !
Maybe you try too absolute adressing to see
where maybe the error comes from?
By the way,
indicating your opereratingsystem and browser (+ version) is sometimes needed to 'understand' a question like yours.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic