All of the lines in a JSP become get put into a single method call in the generated
servlet (with the exception of code in declaration tags).
There is no external way of asking that lines 1 through 100 are run.
Using JSTL or scriptlets (not a best practice), you could branch your code to execute certain blocks under certain conditions.
Does this help?