in Education by
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: web.xml in the Tomcat/conf directory does not override the "development" value. The default is true. context.xml in both the HelloWorld\web\META-INF\context.xml and Tomcat\conf\context.xml has reloadable=true That the JSP is copied from C:\code\HelloWorld\web\index.jsp to C:\code\HelloWorld\out\artifacts\HelloWorld_war_exploded\index.jsp on any change immediately Its not a browser cache issue any thoughts? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
As I answer this question, IntelliJ IDEA is at version 13.0.2. The options are slightly different since this question was asked. In short, via the "Run/Debug Configurations" panel for your project: Make sure your project is set to be deployed as "war exploded" (via the "Deployment") On the "Server" tab, set "On frame deactivation" to "Update classes and resources" Following those two steps, in order, will result in the project being "hot swapped" when IDEA loses focus (i.e. when you change focus to a web browser). The full instructions are available at http://www.jetbrains.com/help/idea/2016.1/updating-applications-on-application-servers.html?search=application%20servers

Related questions

0 votes
    I have a Hello-World application with one java class and one jsp. The JSP prints out some text ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 26, 2022 in Education by JackTerrance
0 votes
    When I try the following lookup in my code: Context initCtx = new InitialContext(); Context envCtx = ( ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 22, 2022 in Education by JackTerrance
0 votes
    Calculate the phase constant of a dielectric with frequency 6 x 10^6 in air. (a) 2 (b ... theory proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 6, 2021 in Education by JackTerrance
0 votes
0 votes
    A random variable X has the following probability distribution : X: 1 2 3 4 5 6 7 8 P(X): 0.15 0.23 0.12 0.10 0.20 0.08 0.07 0.08 for the events E=[X is a prime number] F={X...
asked Nov 16, 2021 in Education by JackTerrance
0 votes
    What is the value of m after evaluating the following expression:m -= 9%++n + ++n/2; when int m=10,n=6. Pls Answer Now.. Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    The cut off wavelength of the rectangular waveguide in dominant mode with dimensions 6 cm x 4 ... by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 6, 2021 in Education by JackTerrance
0 votes
    I am trying to override the tomcat session manager with an embedded tomcat. These are the steps preformed ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    What is the difference between hot backup and cold backup in Oracle? Tell about their benefits also....
asked Dec 17, 2020 in Technology by JackTerrance
0 votes
    Is Tensorflow similar to scikit learn's one hot encoder for processing of categorical data? Does using placeholder of ... very easy. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I have noticed that when One Hot encoding is used on a particular data set (a matrix) and used as training data ... how does it happen? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I want to encode a 1-D numpy array: x = array([1,0,3]) As a 2-D 1-hot array y = array([ ... some faster technique other than looping. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
...