I agree with Mallik, but this will let you know a bit more !
Each time you make changes, or more clearly each time when you access the JSP, the server will make changes in the corresponding
servlet and is reloaded.(But beware of borwser cache, if you make changes and there is content at cache, then it 'll be displayed).
Try the following to get a better understanding.
first create a jsp named one.jsp
call it in IE
rename one.jsp to two.jsp
refresh the IE, you will still get one.jsp
now restart IE and try to access one.jsp, you'll get an error msg.
i.e., each time the server searches for the file and proceses it and converts it to .java file(servlet).
good luck.
2006-11-27 17:50:27
·
answer #1
·
answered by Anand 3
·
2⤊
0⤋
Normally for a jsp page the container deal with 2 phases. these r translation time and run time.
In translation time the container translates the jsp page, when the first time the jsp page is requested. and the appropriate servlet code will be generated for the jsp page , which is available at he 2 phase called the run time.
when the Jsp page changes, it'll be retranslated so that new servlet code can be generated, next time when you request the jsp page.
2006-11-28 01:43:18
·
answer #2
·
answered by mallikj2♠ 2
·
0⤊
0⤋