On Mon, 4 Mar 2002, Milan Stanojevic wrote:
> Date: Mon, 4 Mar 2002 00:05:53 +0100
> From: Milan Stanojevic <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: JSP XML style directives
>
> I've installed Tomcat 4.0 from binary distro on Windows XP. I had no
> problems with some begginer's tasks but then I tried to use JSP XML style
> directives ie. <jsp:directive.page import=".." /> and it does not get
> recognized by Tomcat. Am I doing something stupid or what?
As described in the JSP 1.2 Specification
<http://java.sun.com/products/jsp/download.html>, your *entire* page must
be expressed in the XML syntax for any of these directives to be
recognized. Section 5.5 shows a simple page both ways.
If you are hand-coding your JSP pages, you will find the traditional JSP
syntax much easier to use. XML syntax is designed to be friendly to
tools.
Craig
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>