I have a Hello-World application with one java class and one jsp. The JSP prints out some text that is embedded in the JSP and from the java class. (It prints out two things)
I followed the directions here to create and deploy my application and it (mostly) WORKS! I am able to invoke the JSP and it properly displays the page. I am also able to hotswap changes in the java class after I press the Intellij reload button.
Problem: If I change the JSP, it does not get reflected in the browswer.
I have verified the following:
any thoughts?
Go to the File –> Settings –> Debugger –> HotSwap and ensure that all checkboxes are checked and the radio button “Reload classes after compilation” is set to “Always”. As next step, click on the ” Edit Configurations…” and go to the configured server.
With Web Application support, IntelliJ IDEA: Creates a web resource directory web with index. jsp intended as a starting page of your app and, optionally, a web app deployment descriptor WEB-INF/web. xml.
I am using Intellij IDEA 10.0.3 and ran into the same issue. I resolved it by checking a setting - "Update resources on frame deactivation" in you tomcat server setting under the Run/Debug Configuration section. Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With