Re: Struts 2 and passing data using interceptors

2006-12-03 Thread fahlen
ied various other ways, like > value="%{Search.dataFromSessionBean}" /> among others, but none works. > > You don't have to define anything in the struts.xml file. The action > instance is always pushed onto the stack, and is usually the top bean on > the > stack, unless

Re: Struts 2 and passing data using interceptors

2006-12-03 Thread Mark Menard
On 12/2/06 10:45 AM, "fahlen" <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > I've tried this now, but I'm unable to access the data from the JSP. In the > struts.xml configuration file, the action involved is configured this way: > > > /crosseyed/Search.jsp > Display >

Re: Struts 2 and passing data using interceptors

2006-12-02 Thread fahlen
rk > -- > Mark Menard > personal: http://www.vitarara.org/ > business: http://www.vitarara.net/ > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] &

Re: Struts 2 and passing data using interceptors

2006-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Menard wrote: > On 11/30/06 7:45 PM, "Christopher Schultz" <[EMAIL PROTECTED]> > wrote: >> Sorry for poking my nose in, but wouldn't this be horrendously >> non-threadsafe? > > No problem. If your thinking of Actions from the perspective o

Re: Struts 2 and passing data using interceptors

2006-12-01 Thread fahlen
Thank you all for your replies! They have been very helpful. I'm happy to have found such an active forum. Thanks again. -- View this message in context: http://www.nabble.com/Struts-2-and-passing-data-using-interceptors-tf2734105.html#a7634983 Sent from the Struts - User mailing list ar

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Mark Menard
On 11/30/06 7:45 PM, "Christopher Schultz" <[EMAIL PROTECTED]> wrote: > Mark Menard wrote: >> public String getDataRetrievedFromSessionBean () { >> return this.dataRetrievedFromSessionBean; >> } > > Sorry for poking my nose in, but wouldn't this be horrendously > non-threadsafe? No proble

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread James Mitchell
What makes it not thread safe? If you are thinking in terms of s1, then yes, but s2 actions are not reused and can therefore keep state as you normally would have had to put in a s1 formbean. On 11/30/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: S

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Menard wrote: > public String getDataRetrievedFromSessionBean () { > return this.dataRetrievedFromSessionBean; > } Sorry for poking my nose in, but wouldn't this be horrendously non-threadsafe? Since I know virtually nothing about

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Mark Menard
On 11/30/06 5:29 PM, "Don Brown" <[EMAIL PROTECTED]> wrote: > If you only need request-scoped data, you don't need to bother with > the ScopeInterceptor or even the ServletRequestAware interface. > Simply define a getter on your action that returns the object in > question, then access it via your

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Don Brown
ut if there's a standard method for this functionality provided by the framework, then I guess that would be the preferred way to go. I'm grateful for any input on the matter. Cheers. -- View this message in context: http://www.nabble.com/Struts-2-and-passing-data-using-interceptors-tf2

Struts 2 and passing data using interceptors

2006-11-30 Thread fahlen
by the framework, then I guess that would be the preferred way to go. I'm grateful for any input on the matter. Cheers. -- View this message in context: http://www.nabble.com/Struts-2-and-passing-data-using-interceptors-tf2734105.html#a7627298 Sent from the Struts - User mail