Jump to content

JavaServer page example input

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sfmontyo (talk | contribs) at 10:15, 8 March 2002 (moved example input to here). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Below is an example of a JavaServer Page file.

<%@ page errorPage="myerror.jsp" %>
<%@ page import="com.foo.bar" %>
<html>
<head>
<%! int serverInstanceVariable = 1;%>
...
<% int localStackBasedVariable = 1; %>
...


<%= "expanded inline data " + 1 %>