Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class not found Exception

 
mah kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I am using Tomcat-4.0 on Redhat linux9.In jsp program i am using bean. For example, <jsp:useBean id=webmail class=webmail1.webmailbean scope=page />.
I had put the java file in to web-inf/classes directory.
When running jsp file it produce class not found exception.It works fine in Windows NT.Please help me.
Thanks in advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your .jsp page tag code import the webmail1.webmailbean class? If not, exactly how do you refer to it?
I really hope that "put the java file in to web-inf/classes directory." is a misprint and you meant to say the compiled .class file.
Are you saying that you have exactly the same code on WinNT as on your Linux server - seems pretty unlikely to me, but I suppose it is possible.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic