[ajug-members] Spring MVC question

Igor Tovstopyat-Nelip igor.tn at gmail.com
Mon Jul 2 23:43:40 EDT 2007


Hi all,

I've got a basic Spring MVC question.

Interface Controller exposes the public method handleRequest() which is
supposed to be implemented by any custom controller. This is the main method
for Spring MVC from which you hook up to the application service layer.

On another hand, the class AbstractController, which is recommended to use
for handling GET type requests, exposes an additional method
handleRequestInternal() with exactly the same signature. So,
AbstractController and any class derived from it end up with these two
methods: handleRequest() and handleRequestInternal().

Why this additional method is needed and why it should be used instead of
the normal handleRequest() method?

Thank you,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20070702/e75c56c0/attachment.html 


More information about the ajug-members mailing list