I would like to be able to deploy and manage a set of jsp files outside of the application and the server. We have a pain in the ... process 开发者_如何学Pythonfor deploying our projects and we would like to be able to edit or create JSPs without redeploying the web app.
We are using Spring MVC 3 and I'd think you could use some custom URLViewResolver
if that one can't do it itself...
The controller could then be configured in the database or something for various states picking which jsp to display.
Rather change your development environment deployment process. You can:
- use the capabilities of your IDE to deploy the project on the container (but I assume this will be hard for complex builds)
- use FileSync (if using eclipse) and configure it to send modified jsps to the servlet container when they are changed
Both of these assume that you are running a servlet container locally.
精彩评论