I want to know when the JSP pages are compiled? When we save them or when they are accessed.
Actually, i created a JSP page and later i made some modification, but i am not getting the updated page in the browser. I think the automatically created servlet class is not getting updated.
Some times i get the old result and sometimes the follwoing error :-
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 12 in the jsp file: /CounterDisplay.jsp Counter cannot be resolved 9: <body> 10: 11: Count is : 12: <% out.println(Counter.getCount()); %> 13: </body> 14: </html>