• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

hot-deploy JSP on Jboss

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 43
Spring Tomcat Server Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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'm gonna teach you a lesson! Start by looking at this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic