Please read this article to understand how JSP operates. You should not write one more line of JSP code until you understand what JSP is, and what JSP is not!
Note that the JSP EL expression is simply evaluated in place. What is sent to the browser is:
P.S. If you want to dynamically include page fragments as the result of a client action, then you'll need to use Ajax.