File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes regarding request and session scope's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "regarding request and session scope Watch "regarding request and session scope New topic

regarding request and session scope's

Vishal Kumar Aruru

Joined: May 18, 2009
Posts: 8
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 ....................................
I agree. Here's the link:
subject: regarding request and session scope's
It's not a secret anymore!