This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes Where to place applet files in Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Where to place applet files in Tomcat?" Watch "Where to place applet files in Tomcat?" New topic
Author

Where to place applet files in Tomcat?

Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Hi, I need to know where should we put applet classes in tomcat? I put them in the classes directory, tomcat says it can not find it.
Jimi Rock
Ranch Hand

Joined: Feb 19, 2001
Posts: 134
Hi,
You need to put all your *.class files in the same directory of your *.html file. you may put them in the following path:
C:\Tomcat\webapps\examples\
then created a new folder there and put all your *.class files in addition to the *.html file.
If your applet calls servlet then put the servlet classes in the classes directory.
Regards,
Jimi.
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Thanks Jimi! Say, I have a servlet: c:\tomcat\webapps\ch10\web-inf\classes\thisServlet that will call an applet:c:\tomcat\webapps\ch10\web-inf\classes\thisApplet, what should I put in the HTML display for codebase=?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Where to place applet files in Tomcat?
 
Similar Threads
jsp page can't find the applet
ClassNotFoundException
Applet notinted error when imbedded in servlet html output
where should I put the serializable object class
Where to Put Applet Classes or JAR File?