• Post Reply Bookmark Topic Watch Topic
  • New Topic

some problem with java beans scope attribute?

 
shahidrasul shahid
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i make a javabena element in a page and its scope is session but it not working correctly, because i do not access it next two page in same session and error create object?

following are code for create java bean in jsp




[BSouther: Added UBB CODE tags]
[ January 29, 2008: Message edited by: Ben Souther ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the second page, where does pDAO come from ? You have to get it back.

or use the session implicit object


(I'm not looking at the rest, and I'm not commenting on how difficult it is to read this JSP)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!