From 9bbefa65f728dee5a3f81593ee0cad95cb9ad2ed Mon Sep 17 00:00:00 2001 From: alberto Date: Tue, 1 Dec 2015 17:00:54 +0100 Subject: [PATCH] [BUGFIX] Fix deprecated semi-colons in jsp imports --- webroot/WEB-INF/jsp/contents/guests_form.jsp | 2 +- webroot/WEB-INF/jsp/facilitiesJson.jsp | 6 +++--- webroot/WEB-INF/jsp/layout/footer.jsp | 20 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/webroot/WEB-INF/jsp/contents/guests_form.jsp b/webroot/WEB-INF/jsp/contents/guests_form.jsp index 0549b089..90d4288a 100644 --- a/webroot/WEB-INF/jsp/contents/guests_form.jsp +++ b/webroot/WEB-INF/jsp/contents/guests_form.jsp @@ -104,7 +104,7 @@ <%@ page import="java.util.Locale"%> -<%@ page import="com.opensymphony.xwork2.ActionContext;"%> +<%@ page import="com.opensymphony.xwork2.ActionContext"%> <%@ taglib uri="/struts-tags" prefix="s"%>
 
diff --git a/webroot/WEB-INF/jsp/facilitiesJson.jsp b/webroot/WEB-INF/jsp/facilitiesJson.jsp index dcb584f4..bdc9ee50 100644 --- a/webroot/WEB-INF/jsp/facilitiesJson.jsp +++ b/webroot/WEB-INF/jsp/facilitiesJson.jsp @@ -25,14 +25,14 @@ <%@ page import="net.sf.json.*" %> -<%@ page import="model.Facility;" %> +<%@ page import="model.Facility" %> <% Facility roomfac = (Facility) request.getAttribute("roomFacility"); //JSONUtil json = new JSONUtil(); //JSONUtil.serialize(roomfac); -JSONArray jsonArray = JSONArray.fromObject(roomfac); -System.out.println( jsonArray ); +JSONArray jsonArray = JSONArray.fromObject(roomfac); +System.out.println( jsonArray ); %> \ No newline at end of file diff --git a/webroot/WEB-INF/jsp/layout/footer.jsp b/webroot/WEB-INF/jsp/layout/footer.jsp index a1f842be..28d4a8a3 100644 --- a/webroot/WEB-INF/jsp/layout/footer.jsp +++ b/webroot/WEB-INF/jsp/layout/footer.jsp @@ -16,20 +16,20 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.util.Locale"%> -<%@ page import="com.opensymphony.xwork2.ActionContext;"%> +<%@ page import="com.opensymphony.xwork2.ActionContext"%> <%@ taglib uri="/struts-tags" prefix="s"%>
 
- + @@ -59,7 +59,7 @@ String lang ="en"; Locale locale = ActionContext.getContext().getLocale(); if (locale != null){ - + lang = locale.getLanguage(); } %> @@ -81,7 +81,7 @@ I18NSettings.language = ''; String dPageDefault = "planner"; String dPage = request.getParameter("sect"); dPage = (dPage == null) ? dPageDefault : dPage; - out.println("\n var section= \'" + dPage + "\';"); + out.println("\n var section= \'" + dPage + "\';"); %> var text_tab = $("#" + section).children("a").hide().text(); $("#" + section).addClass("active").prepend("" + text_tab + ""); @@ -102,7 +102,7 @@ I18NSettings.language = ''; width: 99% !important; } - + \ No newline at end of file