Development deployment: how to achive edit-and-reload with JSP pages?

Posted by doublep on Stack Overflow See other posts from Stack Overflow or by doublep
Published on 2010-05-03T18:44:52Z Indexed on 2010/05/03 18:48 UTC
Read the original article Hit count: 339

Filed under:
|
|
|

Out project uses WebLogic as web-server and uses mostly JSP for user interface. With standard setup it is possible to copy edited JSP files into the exploded deployment directory and WebLogic will automatically pick them up, recompile and serve new content through HTTP. However, is it possible to avoid copying at all, so that I just save a file in my editor and it is immediately (well, after a couple of seconds for recompilation) visible?

The project uses Apache Ant as building tool. I would imagine what I want would be possible with symlinks (since this is for deployment only I don't care about cross-platformity), but then I don't see how it is possible to symlink lots of files at once with Ant.

So, how do I achieve save-JSP-hit-F5-in-browser functionality either

  • with some setting in WebLogic; or
  • with symlinking JSPs using Apache Ant (instead of copying them as is done now); or
  • something else completely?

© Stack Overflow or respective owner

Related posts about jsp

Related posts about weblogic