-
Jun 7th, 2007, 03:15 PM
#1
Controller that has no view
Hi,
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?
Thank You.
-
Jun 7th, 2007, 06:26 PM
#2
Returning 'null' as the ModelAndView indicates that the controller has already rendered the view (or, in this case, the non-view).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules