source: trunk/www/index.jsp @ 5426

Last change on this file since 5426 was 5426, checked in by Nicklas Nordborg, 12 years ago

References #1514: Fix character encoding of jsp files

  • Add pageEncoding="UTF-8" to all JSP files.
  • Add @charset="UTF-8"; to all CSS files.
  • Add charset="UTF-8" to all <script> tags

This should at least make Eclipse happy and hopefully allow other editors to automatically select the correct encoding.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1<%-- $Id: index.jsp 5426 2010-09-24 09:18:50Z nicklas $
2  ------------------------------------------------------------------
3  Copyright (C) 2005 Nicklas Nordborg
4  Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg
5
6  This file is part of BASE - BioArray Software Environment.
7  Available at http://base.thep.lu.se/
8
9  BASE is free software; you can redistribute it and/or
10  modify it under the terms of the GNU General Public License
11  as published by the Free Software Foundation; either version 3
12  of the License, or (at your option) any later version.
13
14  BASE is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  GNU General Public License for more details.
18
19  You should have received a copy of the GNU General Public License
20  along with BASE. If not, see <http://www.gnu.org/licenses/>.
21  ------------------------------------------------------------------
22
23  The main page is divided into two vertical frames.
24
25  @author Nicklas
26  @version 2.0
27--%>
28<%@ page pageEncoding="UTF-8" session="false"
29  import="net.sf.basedb.core.*"
30  import="net.sf.basedb.clients.web.Base"
31%>
32<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
33<%
34SessionControl sc = Base.getSessionControl(pageContext, true);
35String ID = sc.getId();
36%>
37<base:page type="frameset" title="">
38  <base:head />
39  <frameset rows="*,50" frameborder="no" border="0">
40    <frame name="main" src="main.jsp?ID=<%=ID%>" scrolling="auto" marginwidth=0 marginheight=0 noresize>
41    <frame name="footnote" src="footnote.jsp?ID=<%=ID%>" scrolling="no" marginwidth=0 marginheight=0 noresize>
42  </frameset>
43</base:page>
Note: See TracBrowser for help on using the repository browser.