For Programmers: Free Programming Magazines  


Home > Archive > Java Help > February 2005 > Access









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Access
Peter Höltschi

2005-02-27, 8:59 pm

Hallo everybody
In Tomcat (Version 5.0) jsp files are usually placed under
/webapps/[myWebApplication]/ .
Under /webapps/[myWebApplication]/Web-INF/classes/ I have all my java
classes.

How can I access this classes from my JSP-File?

Thanks Peter
arvind via JavaKB.com

2005-02-28, 3:59 am

Since the classes folder will be in the classpath, u can access any class
that is present in the classes folder in the usual way.If ur classes r
placed in a jar file in the classes folder then u have set ur classpath
variable to include those jar files....


Hope this clarifies...

--
Message posted via http://www.javakb.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com