No problem, it just means you can't take advantage of some of the Servlet
2.4/JSP 2.0 features. Actually, this looks like a problem with page validation
as opposed to "normal" JSP vs. JSP document. Can you post the part of the page
that's generating the error (including any taglib directives it uses)?

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

> Hmm. Don't have <jsp-property-group> element in web.xml. Don't have .jspx
> extension. Don't have <jsp:root> in jsp page.  Using Servlet 2.3 web.xml.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> <web-app>
> 
> ...
> </web-app>
> 
> Looks like my web.xml is defined differently than you suggest. Is there a
> problem with this?
> 
> -----Original Message-----
> From: Kris Schneider [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 27, 2004 1:56 PM
> To: Tag Libraries Users List
> Subject: RE: *regular* jsp vs. *xml document* jsp question
> 
> 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/>

-- 
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