This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

library directory

 
Bob Moranski
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have some packages for servlets, butI am not sure where to put them. They are class files not jar files. Can anyone answer me?
Thanks.
 
Cynthia Yao
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be more specific because different web server, the file would put into different places.
 
Siva Jagadeesan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bob:
Cynthai is right.
For example if u r using tomcat
then u got to store all ur class files in this following directory
C:\Tomcat\webapps\ROOT\WEB-INF\classes
Considering u have stored tomact ins tomact directory.
If u have a package PROJECT and the servlet name is MyServlet
Then u have to store u MyServlet class in this following directory like this
C:\Tomcat\webapps\ROOT\WEB-INF\classes\project\MyServelt.class
I guess u r using Tomcat
anyway let me know if u any problem i will try my best to help u
Siva
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic