File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Get Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Get Request " Watch "Get Request " New topic

Get Request

Diego Creador

Joined: Jan 10, 2011
Posts: 25
Hello Friends!

I dont know if this is the right topic to make this question. I need some advice, I have a web application and I need to get the user that is login.

This web application is built in java using JSF, and I need to get the user in the bean class. I know that I can get the user from the request parameter, the thing is that I have no idea how to get it? Can you give me some advice?

Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17257

I normally put this code in a special utility class (JSFUtils) in order to keep JSF-specific stuff out of my regular application code.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Get Request
It's not a secret anymore!