Main Page | See live article | Alphabetical index

JavaServer page example input

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 %>
Fact-index.com financially supports the Wikimedia Foundation. Displaying this page does not burden Wikipedia hardware resources.
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.