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
Charles V, Holy Roman Emperor

... Luther to the Diet of Worms in 1521, promising him safe conduct if he would appear. He outlawed Luther and his followers in that same year but was tied up with oth ...

 
 
 
This page was created in 27.9 ms