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: action name=Search_* method={1} class=crosseyed.Search

Re: Struts 2 and passing data using interceptors

2006-12-03 Thread fahlen
] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Struts-2-and-passing-data-using-interceptors-tf2734105.html#a7666816 Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts 2 and passing data using interceptors

2006-12-02 Thread fahlen
-and-passing-data-using-interceptors-tf2734105.html#a7654246 Sent from the Struts - User mailing list archive at Nabble.com. - 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 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 archive

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 of S1, yes,

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 mailing list archive

Re: Struts 2 and passing data using interceptors

2006-11-30 Thread Don Brown
, but 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-tf2734105.html#a7627298

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 JSP

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 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:

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 problem. If your