Hello

I have built a large chunk of a webapp using appfuse2. Its been great,
thanks for the work on the skeleton.

I have a couple of questions however.

I am using a Spring MVC Basic archetype and am not sure how
transcationality is supported in hibernate and/or appfuse.

Basically at the most simple level I would like transactions at the
controller level - so if there is an exception or error thrown in a
controller's submit method I would like to roll back to the state at
the start of the submit.

How do I go about doing that? Is there any documentation that would
help me understand whats involved?

Secondly, something is going wrong (I think) with error handling. I am
pretty sure that when a controller threw an exception when I first had
a basic project working it redirected to an error page. Now its just
printing the exception to the browser window and its looking pretty
messy.

Is there any documentation or advice anyone can offer me on how error
handling works?

Again, my required solution is pretty simple. If a controller throws
an exception in any of its methods then I want to redirect to a fixed
error page with the stack trace available to me.

Thanks for any advice or information and sorry if these questions have
been asked before.

Jonathan

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

Reply via email to