This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See javascript (if any). Are you getting javascript errors on page load? Also, look carefully at the main method you wrote to test the Bean -- are you making the same method calls in the JSP? I know I've had Beans that work fine when tested idependently, but fail when I use them in the web environment. It inevitably turns out the I forget to make some key method calls in the JSP which initialize Bean attributes. Finally, post your JSP code so we can look at it.
Author and ninkuma
Posts: 66424
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the scopes in which you are storing and retrieving the bean. This is the most likely cause of "bean failure" (e.g. storing it in the session, but looking for it in page scope).
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!