Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Tomcat
Classloading in Tomcat5
sushi sri
Ranch Hand
Posts: 38
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I'm using Tomcat5.0.28.
I’ve 2 files class1 & class2. In class2 I’m loading class1 by using class.forName(“class1”);
Where class1& class2 are created by me and are in myapp/web-inf/classes folder.
What i've to to make
tomcat
to identify the class1.
Need help very urgently.
Any quick suggesion is very much appreciated.
Thanks
Anshul Agrawal
Greenhorn
Posts: 19
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you have give fully qualified class name with pkg in Argument to load the class.
Suppose your class1 resides in package
com.appnetix.app.util
Then in argument pass - "com.appnetix.app.util.class1.class"
Regards
sushi sri
Ranch Hand
Posts: 38
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes, thank you that's working.
I earlier tried the same. But was in cache, removed work folder of tomcat. so working fine now
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Using Some of attributes from CSS
swapping objects
Accessing component from main class.... Help!
Constructor Declaration Confusion
problem in passing while loop variables from database
More...