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
French resistance

... apparently let Hardy go. He was accused of collaboration after the war but was acquitted. Operation Overlord was approaching. In the fall of 1943 COSSAC begun to direct ...

 
 
 
This page was created in 55.5 ms