> When I doSomethingelse I get a NullPointerExeption on sMyString.length(). So
> I guess sMyString isn't a allocated String at that time.
> Is there a way to do this ?

Not like this. Action objects get created afresh for each request I think.
 
> I know you can use Context to pass data to the Template and that way pass it
> to another Action. But this is only useful for simple strings, not for
> Objects.

You can put whatever you want into the context, not just Strings.

The context is only valid within a single request so if you want to store stuff 
between requests you should use the GlobalCacheService

Age



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to