Jun 7th, 2007, 03:15 PM
Controller that has no view
I am presented with the following scenario:
There is a system (non spring application) that needs to send an email. I need to develop a spring application that executes the code to send the mail. I will have a controller that this application calls that will send the email via a URL. The url will contain parameters that needs to be in the mail.
E.g. http://www.blablabla.com/mailproject...st&name=t est
How do I do this in spring as I will not be returning a model or view but just executing code via a URL?
Jun 7th, 2007, 06:26 PM
Returning 'null' as the ModelAndView indicates that the controller has already rendered the view (or, in this case, the non-view).