Creating a Web Application with Ant and Tomcat 4
Subject:   Comments on use of HTML and JSP
Date:   2003-01-13 15:10:06
From:   anonymous2
The example application shows bad use of both HTML and JSP. See below.

HTML: No DOCTYPE spec, use of deprecated tags and attributes (<center>, <bgcolor>, etc.).

JSP: Use of scriplets (Java code in the .jsp file). In Home.Jsp, for example, all the Java code can be easily replaced by JSTL tags (JSTL = JSP Standard Tag Library).

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Comments on use of HTML and JSP
    2003-01-14 15:48:17  woodp [View]

    Sorry about the depricated tags and attributes. DOCTYPE was omitted to keep things clean, and this is [as you say] wrong.

    As for your comments on JSTL, well the article was not about JSTL. I was worried about the article length, and trying to keep the number of different technologies used to a minimum,.

    My main purpose was to get over the idea of using Ant to set up a DataSource.