Search code examples
javaeclipsejspjboss

How do I update my .jsp files without restarting the whole JBoss server?


How do I update minor, tiny changes I've just made in a .jsp file, without restarting the whole JBoss server? This is just a private server on my (pretty slow) PC. Up until now, I've been able to click this little icon that says "restart module". Now, this icon is grayed out.


Solution

  • Just replace your .jsp or the .war file for that matter. JBoss does a great job at detecting updated files and will redeploy and recompile your jsps.

    Oh keep in mind your browser might be set to cache your files. in that case make sure to hit the refresh button or just open a fresh instance of your browser or tab.