Web standards in Tomcat webapps

2005-05-12 Thread Beton, Richard
Hi all,

I'm new to this list - forgive me for bargeing in (if I am).

I'd like to see the webapps distributed with Tomcat upgraded to use web 
standards. I couldn't find any mention of this in bugzilla.

* Is this a Good Thing?  (...I think it is)

* Is anyone already doing it?

* I've attached a first stab at one of the jsp pages: the ROOT/index.jsp 
page.  It uses basic CSS but I don't think I used any CSS2 features that 
might be less backward-compatible.

* I may have spare lunchtimes etc when I might slowly work my way 
through other pages ... if there is enough interest in getting this done.

Rick




cvs -z3 -q diff -u index.jsp (in directory 
C:\rdb\sw\apache\jakarta-tomcat-catalina\webapps\ROOT)
Index: index.jsp
===
RCS file: /home/cvspublic/jakarta-tomcat-catalina/webapps/ROOT/index.jsp,v
retrieving revision 1.17
diff -u -r1.17 index.jsp
--- index.jsp15 Jan 2005 18:18:31 -1.17
+++ index.jsp12 May 2005 16:10:42 -
@@ -1,157 +1,173 @@
-http://www.w3.org/TR/REC-html40/strict.dtd";>
+
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <%@ page session="false" %>
-
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
 
-
 <%= application.getServerInfo() %>
 
-  
+  /*]]>*/
 
 
 
 
 
 
-
+
 
-http://jakarta.apache.org/tomcat/index.html";>
-
-
-<%= 
application.getServerInfo() %>
-
-
-http://jakarta.apache.org/";>
+http://jakarta.apache.org/tomcat/index.html";>
+<%= 
application.getServerInfo() %>
+http://jakarta.apache.org/";>
 
 
 
-
-
 
 
 
 
 
-
+
 
-
-Administration  
-
+Administration
 
 
-
-Status
-Tomcat Administration
-Tomcat Manager
+
+Status
+Tomcat Administration
+Tomcat Manager
  
 
 
 
-
-
+
+
 
-
-Documentation  
-
+Documentation
 
 
-
-Release Notes
-Change 
Log
-Tomcat Documentation
+
+Release Notes
+Change Log
+Tomcat Documentation
  
 
 
 
-
-
+
+
 
-
-Tomcat 
Online  
-
+Tomcat Online
 
 
-
-http://jakarta.apache.org/tomcat/";>Home Page
-http://jakarta.apache.org/tomcat/bugreport.html";>Bug Database
-

Re: Web standards in Tomcat webapps

2005-05-12 Thread Schalk Neethling
Richard
If it is decided to move forward with this, I would also be willing to 
chip in and help the conversion to XHTML + CSS.

Beton, Richard wrote:
Hi all,
I'm new to this list - forgive me for bargeing in (if I am).
I'd like to see the webapps distributed with Tomcat upgraded to use web 

standards. I couldn't find any mention of this in bugzilla.
* Is this a Good Thing?  (...I think it is)
* Is anyone already doing it?
* I've attached a first stab at one of the jsp pages: the ROOT/index.jsp 
page.  It uses basic CSS but I don't think I used any CSS2 features that 
might be less backward-compatible.

* I may have spare lunchtimes etc when I might slowly work my way 

through other pages ... if there is enough interest in getting this done.
Rick


cvs -z3 -q diff -u index.jsp (in directory 

C:\rdb\sw\apache\jakarta-tomcat-catalina\webapps\ROOT)
Index: index.jsp
===
RCS file: /home/cvspublic/jakarta-tomcat-catalina/webapps/ROOT/index.jsp,v
retrieving revision 1.17
diff -u -r1.17 index.jsp
--- index.jsp15 Jan 2005 18:18:31 -1.17
+++ index.jsp12 May 2005 16:10:42 -
@@ -1,157 +1,173 @@
-

"http://www.w3.org/TR/REC-html40/strict.dtd";>
+
+
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<%@ page session="false" %>
-
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

-charset=iso-8859-1">
<%= application.getServerInfo() %>

-