• 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

Problem with recognizing the class files

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I am using Tomcat 4.1, I have a JSP page, within the page, I have a scriplet which need to get an object from a Vector, the object belongs to a class I develop on my own. Therefore inorder to call the methods of the class I had to cast the object to that class. I already stored the class file in the classes subdirectory in the WEB-INF directory. However, when I run the page, I will get an error saying that it cannot recognize my class type..... can anyone give me some clue. I have similar problem before, but that is because I missed out the import statement......... but for this time I already put the class file in the right place....... thanks for any help can offer!
Johnny Boy
SCJP SCBCD SCWCD
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You show us no code, and no error message. All we can do is guess.
And my guess is that that you have not placed the class in a non-default package.
reply
    Bookmark Topic Watch Topic
  • New Topic