File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How Can I load a class inside my Context
 
Similar Threads
Struts 2 Doubt
interface
getSelectedIndex() question
Static Methods in an Interface
static method inside a abstract class?