This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
getSelectedIndex() question
static method inside a abstract class?
interface
Static Methods in an Interface
Struts 2 Doubt