<%@ include file="defines/defines.jsp" %> <% String resetModule = request.getParameter("mod"); if (resetModule != null) session.setAttribute("ActiveModule", mgr.getModuleByName(resetModule)); SWModule activeModule = (SWModule) session.getAttribute("ActiveModule"); if (activeModule == null) activeModule = mgr.getModuleByName("KJV"); String resetSearchTerm = request.getParameter("searchTerm"); if (resetSearchTerm != null) session.setAttribute("ActiveSearchTerm", resetSearchTerm); String activeSearchTerm = (String) session.getAttribute("ActiveSearchTerm"); String range = ""; String tmp = request.getParameter("range"); if (tmp != null) range = tmp; SearchType stype = SearchType.MULTIWORD; tmp = request.getParameter("stype"); if (tmp != null) { if (tmp.equalsIgnoreCase("P")) stype = SearchType.PHRASE; if (tmp.equalsIgnoreCase("R")) stype = SearchType.REGEX; } int soptions = 2; // default to ignore case tmp = request.getParameter("icase"); if ((tmp != null) && (!tmp.equals("1"))) soptions = 0; %> Search results for "<%= activeSearchTerm %>"

Translations:

Original Language:

The KJV translates 6 different Hebrew words and 3 Greek words into the English "sword."

Hebrew:

Greek:

Results for "<%= activeSearchTerm %>"

<% String[] results = null; if ((activeSearchTerm != null) && (activeSearchTerm.trim().length() > 0)) results = activeModule.search(activeSearchTerm, stype, soptions, range); else results = new String[0]; %>

» <%= results.length %> result<%= (results.length == 1)?"s":""%> in the text of <%= activeModule.getDescription() %>

<% for (int i = 0; i < results.length; i++) { activeModule.setKeyText(results[i]); %>
<%= results[i] %>
<%= activeModule.getRenderText() %>
<% } %>