aspose file tools*
The moose likes Tomcat and the fly likes How Can I load a class inside my Context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How Can I load a class inside my Context" Watch "How Can I load a class inside my Context" New topic
Author

How Can I load a class inside my Context

Milthon
Greenhorn

Joined: Sep 18, 2002
Posts: 3
I placed the class inside /WEB-INF/classes/ directory.. and when tried to show the jsp file up, it doesn�t find the class...
is there a way for loading this class?...
please.. look forward to hearing from you
thanks
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Try creating a package for your class and import it in your JSP.
Milthon
Greenhorn

Joined: Sep 18, 2002
Posts: 3
I did that, buy anyway it doesn�t work...

Do you know about a class loader ?...
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How Can I load a class inside my Context