This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
JSPs, almost always(I'll explain), are taken from the source folder and the changes are reflected.

Why "almost always" : Sometimes you would find that the servlets get stuck in the container and no matter what you do in your JSPs they are just not refreshed/changes don't show up. This happens because at times the container simply does not overwrite the files at the base working location.

Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Augustin Smith,

When you deploy your web application then Jsp file deploy as it is in Tomcat. Yes your are right that Jsp convert into servlet but that process happens into tomcat work/catalina folder. But Jsp deploy same it is at tomcat. So you don't required to restart your tomcat.

But one thing it is not necessary to all times you have to restart your server after change in Servlet or any other Java class. You can use Hot Deployment option using always start your tomcat with debug mode. That will not always required to restart your tomcat.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!