I was reading that once a
jsp page becaomes a full
servlet all the next incoming requests to that serlvet are run in a separate _jspService
thread.
All the code in the jsp page scriptlet goes in the _jspService
I wanted to know that suppose a jsp page has a declaration tag such as <%! int i =0;%>
Now its equivalent code will be like
So the next time another request comes in for the same jsp page (Which is a servlet now) part of my code was the scriptlet and there was also a declaration tag. Now I wanted to get an idea of what really happens when the _jspService thread execute the second time does it ignore the declaration tag since it already exists ??