• Post Reply Bookmark Topic Watch Topic
  • New Topic

bean problem

 
bab javier
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi! my bean can't be detected by my server. i'm using tomcat 4.1.18 and placed the bean under ..webapps/root/web-inf/classes. whenever i run the jsp, it gives me an error that it cannot find the bean class.
i've used the <page import> directive but still it won't work.
i'm a newbie in jsp.
pls help!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your bean in a package other than the default? Some containers have issues with package-less classes.
bear
[ October 17, 2003: Message edited by: Bear Bibeault ]
 
mudassir shahab
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i agree bear ...check it out by inserting it in a package..
if the problem persist show us ur bean and jsp contents..we will check it out
 
bab javier
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it! it's working now!
thanks guys!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!