![]() When the data is received and handled (e.g. The submitReport() method is responsible for handling the user input after submitting the form. ![]() ![]() It gets called when a POST request is received. The annotation signals that this method handles POST requests. Right now it only returns a string, the functionality will be added later. The getReport() method later will return the base form template in which the user can submit the issue they found. The annotation on the method defines that the method handles GET requests. The annotation on the class tells the Spring framework that this class is a controller and that all its request mapping methods assume a by default
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |