Typically, changes to the xhtml file should be applied after deployment to tomcat with the server starting. But changes to the Java file do not apply until the server restarts.
Check for changes made to the xhtml file that were successfully applied to the war file in tomcat web applications. If it has been successfully added, reload the page. changes must apply.
Work around.
To apply the changes in the java side with the tomcat reboot disabled, some work needs to be done.
You can do this in debug mode. attach debugging and click the "Apply Code Changes" button. This will make a hot deployment.
Or edit server.xml in your tomcat in conf.
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
set autoDeploy = true
source share