Gradle conversion
This commit is contained in:
parent
d401afc5f9
commit
9cb6ce21ef
59 changed files with 577 additions and 467 deletions
16
app/bin/main/webapp/jsp/example.jsp
Normal file
16
app/bin/main/webapp/jsp/example.jsp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<%@ page import="model.HelloJspViewModel" %>
|
||||
<html>
|
||||
<body>
|
||||
<h2>Hello Jsp, simple data from Servlet: <%=request.getAttribute("simple")%></h2>
|
||||
<ol>
|
||||
<%
|
||||
HelloJspViewModel model = (HelloJspViewModel)request.getAttribute("complex");
|
||||
for(int el : model.getData()) { %>
|
||||
<li>
|
||||
<%=el%>
|
||||
<% out.print(":" + el); // or as ordinary java code %>
|
||||
</li>
|
||||
<% } %>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue