File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "regarding request and session scope Watch "regarding request and session scope New topic
Author

regarding request and session scope's

Vishal Kumar Aruru
Greenhorn

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: http://aspose.com/file-tools
 
subject: regarding request and session scope's
 
Similar Threads
Do I understand scope, redirects and JSPs correctly?
managed bean injection problem
not getting the session value on page..!!!
HttpClient Frustration
How to create a secure login system?