Encyclopedia > JavaServer page example input

  Article Content

JavaServer page example input

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

 <%@ page errorPage="myerror.jsp" %>
 <%@ page import="com.foo.bar" %>

 <html>
 <head>
 <%! int serverInstanceVariable = 1;%>
 ...
 <% int localStackBasedVariable = 1; %>
 <table>
 <tr><td><%= "expanded inline data " + 1 %></td></tr>
 ...



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Thomas a Kempis

... are set in the minor key and are especially adapted for souls burdened with care and sorrow and sitting in darkness. They present only one side of the Christian life, ...

 
 
 
This page was created in 20.9 ms