This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hot-deploy JSP on Jboss

 
Tim Lincecum
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,
currently I put all my .jsp under /WEB-INF/jsp/, it will be packed in a .war file then deploy to my Jboss server.
but our front end developer want to view her modifications in jsp without re-deploy.

I am thinking move the /jsp folder out from the war file but wondering if Jboss will recompile everytime if there is an update of jsp.
Please advice, Thank you.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can deploy the .war in exploded format http://community.jboss.org/wiki/ExplodedDeployment and changes to .jsp files will be picked up automatically without requiring a redeploy of the application or restart of the server
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:You can deploy the .war in exploded format http://community.jboss.org/wiki/ExplodedDeployment and changes to .jsp files will be picked up automatically without requiring a redeploy of the application or restart of the server


This will work for you.

But if you use an IDE like Eclipse and Maven you will not be able to edit your JSP and the hot-deploy works. =/ (AT least not in my work place that happens right).

You will have to go to the JBoss folder tmp and edit your file there.
 
John Cruz
Ranch Hand
Posts: 43
Chrome Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jaikiran Pai wrote:You can deploy the .war in exploded format http://community.jboss.org/wiki/ExplodedDeployment and changes to .jsp files will be picked up automatically without requiring a redeploy of the application or restart of the server


Thanks. The link you gave helped.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic