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
Brazil

... is some talk among monarchists in Brazil of restoring the monarchy as a symbol of national unity and political stability. A national plebiscite was held on the issue ...

 
 
 
This page was created in 46.2 ms