im also looking into using Spring and then theres the code from Patrick's book, im waiting to see that before I refactor though.
John Patterson wrote:
I notice that in previous discussions on this list, people talk a lot about using ServletFilters to open a Session and ensure it is closed. Is there any problem with using an interceptor to do this?
ie
public String intercept(ActionInvocation invocation)
{
try
{
...open session...
invocation.invoke();
}
finally
{
...close session...
}
}
John.
------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork