• Post Reply Bookmark Topic Watch Topic
  • New Topic

unique problem wth cant find bean in any scope

 
Darvesh Niz
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello coders,

i have a very strange problem, my jsp keeps on spitting this message "cannot find bean in any scope" but when i see the jsp its displayed correctly.
it says cant find parent_session_category in any scope but still i see the catgory name etc... and all values displayed on the page.
i know for some it really doens't make and even for me too which left me confused too.

is there a way to know on which line jsp is erroring out, so that i can be sure where exactly is the error happening.
when i deploy the same app on my local tomcat and check the logs i dont get that message.


some input please ...

Thanks
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

I think it might be possible that you have same bean that in another scope which displayed your value at jsp. but when you use session no bean found.

So, that gives you an error so, without looking your code can't say what's the problem.

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Is the bean class in a package?
2. Where is the class file stored?

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!