RE: Important ActionContext.getContext().getSession() error

2008-11-20 Thread Francisco Exposito
Subject: Re: Important ActionContext.getContext().getSession() error > > Having Map does not affect whether the session is null or > not, it is just for the compiler to add type safety to the Map, and by the > way, the Session Map is String --> Serializable not String --> St

Re: Important ActionContext.getContext().getSession() error

2008-11-12 Thread Carlos Luis Zúñiga Sibaja
Having Map does not affect whether the session is null or not, it is just for the compiler to add type safety to the Map, and by the way, the Session Map is String --> Serializable not String --> String. You should probably implement the SessionAware ( http://struts.apache.org/2.0.11/struts2-core/

Re: Important ActionContext.getContext().getSession() error

2008-11-12 Thread Felipe Lorenz
Hi Francisco... I use it in many diferrents browser, and never got this error... but i use the following sentence: Map session = ActionContext.get.. I dont put this !!! On Wed, Nov 12, 2008 at 1:53 PM, Francisco Exposito <[EMAIL PROTECTED]> wrote: > > Hi, > > I have the next sentence in or