Changeset 29537 for other-projects/nz-flag-design/trunk
- Timestamp:
- 2014-12-08T00:12:15+13:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nz-flag-design/trunk/similarity-2d/index.jsp
r29533 r29537 77 77 String action = request.getParameter("action"); 78 78 79 if ( action.equals("ratios")) {79 if ((action != null) && action.equals("ratios")) { 80 80 81 81 Map<String, Integer> ratioFreq = new HashMap<String, Integer>(); … … 134 134 135 135 for (final File fileEntry : imageFileList) { 136 File flagImageUrl = new File(imageUrlBase,fileEntry.getName());136 String flagImageUrl = imageUrlBase + "/" + fileEntry.getName(); 137 137 138 out.println("<img src=\"" + flagImageUrl .getPath()+ "\">");138 out.println("<img src=\"" + flagImageUrl + "\">"); 139 139 140 140 }
Note:
See TracChangeset
for help on using the changeset viewer.