On 7/12/07, Robin1982 <[EMAIL PROTECTED]> wrote:

No it doesn't actually - it is only called the once now.

If disabling JavaScript causes only one request to go through, then
the two-request issues is probably caused by some sort of
onclick/onsubmit event on a form element.


However, the page still "times out" - i.e. the page goes blank after about
30 seconds (while the parsing is still active) but is not forwarded to the
success page.

Maybe the request is so large that Jetty is trying to "chunk" the
data? I'm not sure. Can you reproduce this behavior on Tomcat?

Matt


Any ideas to solve this?

Robin


mraible wrote:
>
> Does this same behavior happen if you turn off JavaScript?
>
> On 7/11/07, Robin1982 <[EMAIL PROTECTED]> wrote:
> ...
>> However, for larger parsing tasks, the controller (and the onSubmit
>> method)
>> is being called twice; once straight after i submit the form and the
>> second
>> time after about 10-15 seconds of parsing. Looking at the jetty output,
>> it
>> seems a new thread has been initiated and is doing exactly the same thing
>> as
>> the previous thread i.e. trying to persist the same data resulting in
>> JDBC
>> errors.
>>...
>> 1. What is causing the second thread to be kicked off? Does Spring have a
>> time limit on Controllers returning? Where can I modify this?
>>
>> 2. Any suggestions for a better solution? I do use quite a bit of data
>> from
>> the HttpServletRequest object plus using a lot from my
>> ApplicationResources.properties file, just to note.
>>
>> Thanks in advance,
>>
>> Robin
>>
>> --
>> View this message in context: http://www.nabble.com/Appfuse2
>> -Spring-MVC-Long-Running-Controller-tf4065660s2369.html#a11552339
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
>

--
View this message in context: 
http://www.nabble.com/Appfuse2-Spring-MVC-Long-Running-Controller-tf4065660s2369.html#a11557695
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to