• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classes?

 
sachin shinde
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friends,
i have one small problem. i want to store my class files which i am using in my JSP files.
i want where to place that class files and in which folder? (classes of Bean files).
i am using weblogic 6.1
pl reply as early as possible.
thks
sachin
 
Dave Landers
Ranch Hand
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Classes to be used by Servlets and JSP pages can go in the WebApp's WEB-INF/classes directory.
For example, if your class is:
com.mypackage.MyClass
you can put it in:
WEB-INF/classes/com/mypackage/MyClass.class
Or you can jar all your classes and put the jar file in WEB-INF/lib/mycode.jar.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic