aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes path of a non-default app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "path of a non-default app" Watch "path of a non-default app" New topic
Author

path of a non-default app

tony wang
Greenhorn

Joined: Apr 13, 2002
Posts: 14
Hi,
I created an app in tomcat-root/webapps/myapp.
Put a servlet in tomcat-root/webapps/myapp/web-inf/classes/a-servlet. I can't run it. What's wrong with it?
Thanks,


SCJP,SCWCD
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

I found this out recently
You servlets need to be in the c:\tomcatdir\webapps\root\web-inf\classes directory.
If you have packages you place the base leve of the package starting at that directory.
Tomcat did not automatically create that classes directory, so you will need to make that dir.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: path of a non-default app