Everytime a .jsp file is accessed it will be translated into servlet. suppose if i access the .jsp 10 times, how many times it will be translated(i think 1 time it will be translated to servlet class). Also if i change the content in .jsp how it will know whether the file is changed and needs to be translated to servlet?
Correctly told by Christophe Verré, it depends on the container.
For example, Tomcat won't retranslate the JSP file till it's modified.
Tomcat7 doesn't retranslate the JSP file even after restart - if JSP file is not modified.