Skip to content

H3AR7B3A7/SpringServletStackXml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Web Application (XML-config version)

What we did so far:

  • Configured our dispatcher servlet
  • Implemented simple custom error-page
  • Added view-resolver
  • Made simple get and post requests
  • Added static resource handling (css)
  • Added Internationalization (2 resource bundles)
  • Added a way to upload a file to the server
    • We will maybe use a db to upload to later (We already know how to implement databases properly from previous projects)
    • The service for this can be easily switched out
  • Added an example of method validation on file name in 'FileUploadController'
  • Added a Employee form (Spring form) with:
    • Validation using a model & BindingResult
  • Quick mongo implementation to show employees inserted by this form
    • We will add proper dao for mongo and mySQL later
  • Added birth form with:
    • A Custom validator
    • Type conversions using PropertyEditorSupport
      (For other option: Converter, see this)
  • Using multiple contexts (Added 'my-beans')
  • Comparing scopes: request / session (we did something similar for 'singleton' and 'session' in a previous project)
  • Page redirection with flash attributes, comparing 'old' and 'new'
    • With RedirectView
    • With ModelAndView

Validation

fc

About

Further exploration of the Spring servlet stack, using XML-based configuration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published