JSP pages not reload when "On Frame Deactivation: " set to "Update resources"

Answered

Hi,

I did settings as instructed here but my problem is still there. When I was using IntelliJ community with "Smart Tomcat" plugin then jsp pages are automatically reloaded and I don't have to do anything.

But now in IntelliJ Ultimate, no auto reload is done even "On Frame Deactivation" set to "Update resources". But if either "On 'Update' action" or "On Frame Deactivation" set to "Update classes and resources" then jsp files are reloaded either by pressing "Ctrl + F10" or "Switch to browser" respectively. I don't want to reload jsps by setting to "Update classes and resources" because it may happen that I'm writing a class and is incomplete then it will try to compile it and debug mode will break. 

So jsps does not come under "Resources" that's why it is not refreshed? 

0
3 comments

Hi Rohit,

It is a known problem by the looks of it: https://youtrack.jetbrains.com/issue/IDEA-261888

I added your case to the YouTrack ticket. Feel free to leave extra comments there.

See this article if you are not familiar with YouTrack.

0

Hi Arina,

I checked the above problem but it looks like it's not the same. In that case class is not auto-reloaded and in my case jsp files does not auto reload when keeping "Update resources" but if I set "Update classes and resources" then it will auto reload both classes and jsps.

BTW can you share the youtrack ticket that you creted?

0

Hi - sure thing, it's IDEA-269507. Feel free to add your comments there.

0

Please sign in to leave a comment.