Re: Struts2 Pre-Action

2007-10-04 Thread stanlick
It also looks like Manning has released Struts 2 in Action through their Early Access Program! http://www.manning.com/dbrown/ On 10/4/07, Ted Husted <[EMAIL PROTECTED]> wrote: > > On 10/2/07, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote: > > web-project altogether with just Struts2 ... no Spring2 and

Re: Struts2 Pre-Action

2007-10-04 Thread Ted Husted
On 10/2/07, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote: > web-project altogether with just Struts2 ... no Spring2 and no Hibernate. What are you using instead of Hibernate (or the like)? I mean JDBC works, but ... ugh ... those were the bad old days. Or, is the plan to use Toplink as a JPA provider?

Re: Struts2 Pre-Action

2007-10-04 Thread Ted Husted
The native Struts2 solution would be to use an interceptor, or to piggy back on an interceptor that already exists. Writing your own interceptor is not difficult * http://struts.apache.org/2.x/docs/writing-interceptors.html and I would suggest that everyone at least try writing one interceptor o

Re: Struts2 Pre-Action

2007-10-02 Thread Dave Newton
--- "Tom Holmes Jr." <[EMAIL PROTECTED]> wrote: > Basically, I want to call a pre-Action action that > loads a bean into a session and then calls a JSP page > ... simple right? Right. > Is that all I need? Is there anything else? Can > you send me some links for examples? What exactly are you as

Struts2 Pre-Action

2007-10-02 Thread Tom Holmes Jr.
I've been playing with Struts2+Spring2 beans+Hibernate and that all works very well. So, now I am trying something simpler ... so consider this a new web-project altogether with just Struts2 ... no Spring2 and no Hibernate. Basically, I want to call a pre-Action action that loads a bean into a