Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding request and session scope's

Vishal Kumar Aruru
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was using icefaces, i created a login page which redirect to success and failure on user input, i used the bean scope to 'request', the problem i am facing is .....
i have given the correct information to login so it redirected to success page in that i am printing the username, its fine and again i redirected to another page to check the username is carried or not, the page contains only the username related stuff
<ice ':'outputText value=#{loginDataBean.uname}/>
this has to throw an error because i have given the managed bean scope is request but it is showing the username, not throwing any exception. But how this is coming for the second page, even i gave the scope to request...... i am using the net beans ide and IE7. so please resolve this issue.

and the same thing i tried for session, application, page ..............same output is coming ....................................
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic