#SpringBlog
This is a tiny blog system based on SpringMVC and Hibernate,just for learning spring.
##Use:
- Spring IoC container
- Spring mvc for web
- Hibernate for mysql database access
- Ehcache for second level cache
- Tiles3
- Boostrap for front page
- bootstrap3-wysihtml5
##Finish:
- System basic architecture
- Database design
- Integrate tiles
- Admin login and publish post
- Manage posts
- Manage comments
- Blog show
- Add bootstrap3-wysihtml5 which supports boostrap3
- Add BootstrapValidator
##Problem
-
Session out of time,how to save information of login user?
Don't use @SessionAttributes annotation,but use the traditional session.setAttribute method to save login information.Spring docs about SessionAttributes -
How to design restful api for delete many objects?
-
org.hibernate.HibernateException: No Session found for current thread
-
Error too much recursion while using BootstrapValidator
Must wrap the element with class form-group,such as<div class="form-group"> <input name="name" type="text" class="form-control form-signin-name"> </div>
-
find soon...