I read an article "The Secret Life of JavaServer Pages" by bear. I is very useful and it gave me a lot of clarifications.
@Bear
I have one suggestion
I found the following code in the article which explains how a tag is converted into a servlet code.
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write(" <head>\r\n");
out.write(" <title>A simple JSP page</title>\r\n");
out.write(" </head>\r\n");
out.write("\r\n");
out.write(" <body>\r\n");
out.write("
Testing \r\n");
out.write(" ");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" !\r\n");
out.write(" </body>\r\n");
out.write("</html>\r\n");
out.write("\r\n");
Here it would have been very useful if the code for "_jspx_meth_c_forEach_0" method was also given.