Annotated imagedb
Imagedb is a example from spring framework.
- Motivation
Demostrate how to retrieve picture from database and display it on pages.
- Implementation
FileUpload.
Blog object in sprint framework. How to add blog object to output stream?
- get blog object from database.
- use org.springframework.util.FileCopyUtils copy blog object to output stream object.
extend org.springframework.web.servlet.mvc.multiaction.MultiActionController to process image upload and list. And use MultiActionController that defines user interface actions as separate methods in xxx-servlet.xml to config MultiActionController.
separate domain and database operation.
Interface oriented programming. I believe interface is great.
- Deployment
Integrate this functionality with other web application as a image engine.
博客介绍了Annotated imagedb,指出Imagedb是spring框架中的一个示例,涉及信息技术领域的后端开发相关内容。
595

被折叠的 条评论
为什么被折叠?



