Having Map<String, String> 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/apidocs/org/apache/struts2/interceptor/SessionAware.html)
interface in your action to gain access to the session instead of using
ActionContext.

Regards,

  Carlos Luis Zúñiga Sibaja
__________________________
  [EMAIL PROTECTED]

  divide et impera...


On Wed, Nov 12, 2008 at 10:17 AM, Felipe Lorenz <[EMAIL PROTECTED]>wrote:

> 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 <String, String>!!!
>
> On Wed, Nov 12, 2008 at 1:53 PM, Francisco Exposito
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I have the next sentence in order to get info from session:
> >
> > Map<String,String> session = ActionContext.getContext().getSession();
> >
> > And then i put or get info.
> >
> > It works properly in firefox local and remote and in ie local. But if I
> try to execute it in a remote ie, I get that session is null.
> >
> > Any help please?
> >
> > Regards,
> > Paco
> >
> > _________________________________________________________________
> > Diviértete y aprende con el juego de palabras del Abecedario
> > http://www.vivelive.com/abecedario/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to