For JSP 2.0, a JSP document is identified in one of the following ways:

The existence in web.xml of a <jsp-property-group> element with an <is-xml>
subelement set to "true".

The file has a .jspx extension.

The top element of the file is <jsp:root>.

Are you using a Servlet 2.4 web.xml:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
         version="2.4">
  ...
</web-app>

Quoting "Barnett, Brian W." <[EMAIL PROTECTED]>:

> As far as I know, we can go with Servlet 2.4/JSP 2.0.
> 
> -----Original Message-----
> From: Kris Schneider [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 27, 2004 6:17 AM
> To: Tag Libraries Users List
> Subject: Re: *regular* jsp vs. *xml document* jsp question
> 
> Do you need to remain compliant with Servlet 2.3/JSP 1.2 or can you go with
> Servlet 2.4/JSP 2.0?
> 
> Quoting "Barnett, Brian W." <[EMAIL PROTECTED]>:
> 
> > Just installed Tomcat 5.0.19 and it is complaining about some stuff in my
> > jsp files. After some reading, I determined it had something to do with
> > "regular" jsp's vs. "xml document" jsp's.  Does anyone know how to
> configure
> > Tomcat 5 to see my jsp's as "regular" jsp's?  Or is there something I need
> > to add to my jsp's?
> > 
> > The error I get is "The function XXX must be used with a prefix when a
> > default namespace is not specified".
> > 
> > Thanks,
> > Brian Barnett
> 
> -- 
> Kris Schneider <mailto:[EMAIL PROTECTED]>
> D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to