view src/main/webapp/imageServer/test.jsp @ 10:17551d9f091f

add new witness view lin, and those below, will be ignored-- A src/main/java/de/mpiwg/itgroup/ismi/publicView/pages/WitnessCodexDynamicPage.java M src/main/java/de/mpiwg/itgroup/ismi/servlets/jsonmethods/JSONGetTitleDetails.java M src/main/java/de/mpiwg/itgroup/ismi/utils/templates/TitleTemplate.java M src/main/resources/hibernate.cfg.xml M src/main/webapp/imageServer/resources/css/diva4ismi.css M src/main/webapp/imageServer/resources/js/diva4ismi.js M src/main/webapp/public/publicCodex.jsp M src/main/webapp/public/publicWitness.jsp M src/main/webapp/public/templates/templateWitnessInformationBig.html
author dwinter
date Mon, 23 Mar 2015 12:43:55 +0000
parents 764f47286679
children
line wrap: on
line source

<html>
<head><title>First JSP</title></head>
<body>
  <%
    double num = Math.random();
    if (num > 0.95) {
  %>
      <h2>You'll have a luck day!</h2><p>(<%= num %>)</p>
  <%
    } else {
  %>
      <h2>Well, life goes on ... </h2><p>(<%= num %>)</p>
  <%
    }
  %>
  <a href="<%= request.getRequestURI() %>"><h3>Try Again</h3></a>
</body>
</html>