It's not Sun. XML IS ordered, and if you don't follow the order specified
in the DTD, the document won't validate.

On Tue, 12 Jun 2001, Aaron Tavistock wrote:

> Might be something to do with the fact that the web.xml dtd requires a
> certain ordering.  I've run into this before and it was extremely difficult
> to figure out exactly what happened.  After I discovered the problem I then
> could not fathom Sun wrote the dtd to require a particullaar order.
>  
> Either way, try putting the taglib lines before your security constraint.
> 
> -----Original Message-----
> From: Tim Pouyer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 12, 2001 3:30 PM
> To: Orion-Interest
> Subject: Can't get taglibs to work in orion
> 
> 
> I downloaded the custom tags provided on orion's site and installed them on
> my orion 1.5.2 server.  But when I try to go to the jsp page that uses them
> I get a 'page cannot be displayed error'.  I can run jsp's that do not
> utilize orion's taglibs so I think it might have something to do with my
> deployment descriptors.  In my web.xml file in web-inf directory i have the
> following tags:
>  
> <?xml version="1.0"?>
> 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> <web-app>
> 
> <display-name>Holder Project</display-name>
> 
> 
> 
> <login-config>
> 
> <auth-method>BASIC</auth-method>
> 
> </login-config>
> 
> <taglib> 
> 
> <taglib-uri>utiltags</taglib-uri>
> 
> <taglib-location>/WEB-INF/lib/utiltags.jar</taglib-location> 
> 
> </taglib> 
> 
> 
> 
> </web-app>
> 
> and I put <%@ taglib uri="utiltags" prefix="util" %> at the top of my jsp.
> With all subsequent code referenced like this <util:sometag>
> 
> if someone could please explain what I am doing wrong I would greatly
> appreciate it.
> 
> 


Reply via email to