Below is an example of a JavaServer Page file. Its resulting output can be found here.

\r\n <%@ page errorPage="myerror.jsp" %>\r\n <%@ page import="com.foo.bar" %>\r\n\r\n \r\n \r\n <%! int serverInstanceVariable = 1;%>\r\n ...\r\n <% int localStackBasedVariable = 1; %>\r\n \r\n \r\n ...\r\n
<%= "expanded inline data " + 1 %>
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.