[Ils-source] r1532 - in trunk/webapp: . WEB-INF
scribe at crosswire.org
scribe at crosswire.org
Tue Apr 25 15:47:29 MST 2017
Author: scribe
Date: 2017-04-25 15:47:28 -0700 (Tue, 25 Apr 2017)
New Revision: 1532
Added:
trunk/webapp/WEB-INF/crosswire-i18n.tld
Modified:
trunk/webapp/header.jsp
Log:
moved i18n taglib into WEB-INF for newer versions of tomcat
Added: trunk/webapp/WEB-INF/crosswire-i18n.tld
===================================================================
--- trunk/webapp/WEB-INF/crosswire-i18n.tld (rev 0)
+++ trunk/webapp/WEB-INF/crosswire-i18n.tld 2017-04-25 22:47:28 UTC (rev 1532)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+<taglib>
+ <tlibversion>1.0</tlibversion>
+ <jspversion>1.1</jspversion>
+ <shortname>i18n</shortname>
+ <uri>http://www.crosswire.org/swordweb/i18n-1.0</uri>
+ <info>
+The i18n custom tag library contains tags that help manage the complexity of creating internationalized web applications. These tags provide similar (though not identical) functionality to the internationalization available in the struts framework, but do not require adopting the entire struts framework.
+
+"i18n" is a common abbreviation for internationalization, because there are 18
+letters between the first "i" and the last "n".
+
+For more information on internationalization with Java, the java.sun.com site
+contains a good
+tutorial written by Dale Green.
+</info>
+ <tag>
+ <name>pagestart</name>
+ <tagclass>org.crosswire.web.i18n.PageStart</tagclass>
+ <bodycontent>JSP</bodycontent>
+ </tag>
+ <tag>
+ <name>t</name>
+ <tagclass>org.crosswire.web.i18n.TranslateTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ </tag>
+</taglib>
+
Modified: trunk/webapp/header.jsp
===================================================================
--- trunk/webapp/header.jsp 2017-03-24 02:45:34 UTC (rev 1531)
+++ trunk/webapp/header.jsp 2017-04-25 22:47:28 UTC (rev 1532)
@@ -1,4 +1,4 @@
-<%@ taglib uri="/META-INF/crosswire-i18n.tld" prefix="t" %>
+<%@ taglib uri="/WEB-INF/crosswire-i18n.tld" prefix="t" %>
<script type="text/javascript" src="js/jquery/jquery.min.js"></script>
<script type="text/javascript" src="js/chosen/chosen.jquery.min.js"></script>
<script type="text/javascript" src="crosswire.js"></script>
More information about the Ils-source
mailing list