Did you try ActionContext.getContext().getSession() ?

--- [EMAIL PROTECTED] wrote:
> Figured it out, my action class wasn't implementing SessionAware...
> 
> SessionAware seems to be deprecated however I can not find a suitable
> replacement in the API docs...
> 
> On Fri, Jul 18, 2003 at 08:31:10AM -0700, Pat Lightbody wrote:
> > Sounds like you're using WebWork 1.3? I'm not that familiar with how it
> does
> > it, but what you are saying sounds about right.
> > 
> > -Pat
> > 
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, July 17, 2003 7:53 AM
> > Subject: Re: [OS-webwork] Resource Groups
> > 
> > 
> > > From reading the docs, it is my understanding that as long as I have a
> > > class named "Test" that extends ActionSupport and a file named
> > > Test.properties in the same package as that class that the resources
> > > should be loaded automagically onto the value stack so that any JSP
> > > associated with a view for Test.action should be able to access them via
> > > the text tag as long as the view was called by running Test.action...
> > >
> > > On Wed, Jul 16, 2003 at 05:23:18PM -0500, [EMAIL PROTECTED] wrote:
> > > > Thanks all for you quick help on an earlier issue today... I've got
> > > > another one I can't seem to solve (earlier postings didn't help), here
> > > > is the situation:
> > > >
> > > > I have a simple test app I've been trying to build similar to the i18n
> > > > example that WebWork ships with, I have the following done:
> > > >
> > > > index.jsp redirecting to Language.action which has error view of
> > > > language.jsp and success of itworked.jsp
> > > >
> > > > Language class extends Test class
> > > >
> > > > Test class extends ActionSupport
> > > >
> > > > I have a file named Test.properties in the same package as the Test
> > > > class and it has various properties set (i.e. "main.title=Test App")
> > > >
> > > > When index.jsp redirects to Language.action which returns ERROR and
> then
> > > > gets thrown to language.jsp which renders successfully except that my
> > > > lines like:
> > > >
> > > > <ww:text name="'main.title'"/>
> > > >
> > > > return "main.title" in the resulting HTML and not "Test App"...
> > > >
> > > > --
> > > > Sean
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: VM Ware
> > > > With VMware you can run multiple operating systems on a single machine.
> > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> > > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> > > > _______________________________________________
> > > > Opensymphony-webwork mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: VM Ware
> > > With VMware you can run multiple operating systems on a single machine.
> > > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> > > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> > > _______________________________________________
> > > Opensymphony-webwork mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > >
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems on a single machine.
> > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> > _______________________________________________
> > Opensymphony-webwork mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> 
> -- 
> Sean Bruton            <[EMAIL PROTECTED]>
> Senior Engineer        Network Services
> NeoSpire, Inc.         www.neospire.net
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


=====
Cuong Q. Tran <[EMAIL PROTECTED]>

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to