Hy
My first post, my first question:

Can i access the ActionContext in a non ActionBean class?

I want to makes some logs on the db operations.
For example what i want to do is something like this:

Class X{

  public void addEntry(String value){
    db.insert(value);
    String username = session.getAtribute("username");
    loger.log(username, "add entry "+value);
  }
}

Can i get in the X class the Http session without transmitting as a method
parameter for example?

Andrei

-- 
View this message in context: 
http://www.nabble.com/Can-i-get-the-ActionContext-in-a-non-ActionBean-class--tp19836554p19836554.html
Sent from the stripes-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to