including openisis 0.9.0 into webpac tree
[webpac] / openisis / foo.oip
diff --git a/openisis/foo.oip b/openisis/foo.oip
new file mode 100755 (executable)
index 0000000..716cc1b
--- /dev/null
@@ -0,0 +1,25 @@
+#!/opt/openisis/oip
+<html>
+<%! int i;
+       static void foo () {
+       /* as an extension over common JSP-behaviour,
+       a global %! block *ending* with !% introduces
+       literal-printing code to be added outside of main
+       */
+!%>
+       lala
+<%!
+       }
+%>
+<%
+       for ( i=0; i<3; i++ ) {
+%>
+       bla <%=i%> blub <%="%f",i/3.%> 
+<%
+       }
+       foo();
+%>
+<%!
+ int j;
+%>
+</html>