开发者

How to host JSP pages on external web server for more dynamic editing using Spring MVC

开发者 https://www.devze.com 2023-01-26 08:46 出处:网络
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 l

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号