I am trying to do a personal project to integrate GAE as my datastore with my spring MVC. Whenever I try to run the list.jsp page (the code written below) I get an error saying :
org.apache.jasper.JasperException: An exception occurred processing [/list.jsp] at line [29]<|<|26: ??<|27: ??<%<|28: ???List customers = (List) request.getAttribute("customerList");<|29: ??for (Entity e : customers) {<|30: ??%><|31: ??<|32: ???<%=e.getProperty("name")%><|<|<|Stacktrace:
The code is below:
Demo App with CRUD Functionality
Function :
Add Customer
<h2>All Customers</h2>
<table border="1">
<thead>
<tr>
<td>Name</td>
<td>Email</td>
<td>Created Date</td>
<td>Action</td>
</tr>
</thead>
<%
List<Entity> customers = (List<Entity>) request.getAttribute("customerList");
for (Entity e : customers) {
%>
<tr>
<td><%=e.getProperty("name")%></td>
<td><%=e.getProperty("email")%></td>
<td><%=e.getProperty("date")%></td>
<td><a href="update/<%=e.getProperty("name")%>">Update</a> | <a
href="delete/<%=e.getProperty("name")%>">Delete</a></td>
</tr>
<%
}
%>
</table>
question from:
https://stackoverflow.com/questions/65640932/getting-a-jasperexception-error-on-running-my-list-jsp-page-with-google-app-engi 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…