[Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Aaron Freeman
We take some fairly lengthy queries (lengthy row based on row count), and push the data into hashmaps in JSTL pages. After that sometimes we evaluate the hashmap and sometimes have to redirect the request to another page. In 3.0.23 it works with no problems. In 4.0.5 we get

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Jon Stevens
This is why you don't put application logic into the view layer. Before you 'push' your data into the view, figure out if you want to do the redirect or not. jon On Thu, Mar 25, 2010 at 7:49 AM, Aaron Freeman aaron.free...@layerz.comwrote: We take some fairly lengthy queries (lengthy row

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Aaron Freeman
It's not in the view layer. We segregate our controller JSPs from our view JSPs. So you will change your argument to say that we should not use JSPs at the control layer, and of course _most_ of our control logic is in pure Java, but there are cases where having our controller logic written

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Jon Stevens
I don't mind using JSP's for some of the (separated) control logic. For example, you have a form action: form action=email_confirm_submit.jsp Inside of it, it looks like this: http://code.google.com/p/subetha/source/browse/trunk/web/email_confirm_submit.jsp That said, look at that code. The

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Aaron Freeman
On 3/25/2010 10:31 AM, Jon Stevens wrote: I don't mind using JSP's for some of the (separated) control logic. For example, you have a form action: form action=email_confirm_submit.jsp Inside of it, it looks like this: