This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Problem with recognizing the class files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with recognizing the class files" Watch "Problem with recognizing the class files" New topic
Author

Problem with recognizing the class files

John Ip
Ranch Hand

Joined: Mar 04, 2004
Posts: 45
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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with recognizing the class files
 
Similar Threads
IllegalStateException: getOutputStream() has already been called for this response
Singleton problem
How to pass user defined objects as parameter
Problem in using SimpleStream example with jsp
unable to compile class for JSP