From: Brian P. C. <bm...@bm...> - 2005-07-12 10:01:06
|
> Brian Peter Clark wrote: > > Could someone please advise me on some dtd/schema problems > > that I have. > > It's to do with the web.xml file for the latest version of bodington. > > Is this CVS HEAD or a 2.4.3 WAR? Atif downloaded from head on Friday afternoon; compiled OK; but failed to deploy on Sun App. Brian > > > With the latest tomcat it's servlet 2.4? This now validates against a > > schema rather than a dtd. The dtd is pointing to the 2.2 dtd in the > > web.xml file. > > Ok. We should probably update it to at least 2.3. > > > The Sun Java System App Server (sorry) gives a deployment error > > when it looks at the web.xml file. > > Ok. This is the sort of feedback we need. At the moment almost everyone > only uses Tomcat. > > > Element type "listener" must be declared > > > > I think that it is objecting to a servlet element occurring before the > > listener element is declared. Should the <listener> precede the > > <servlet>? > > Looking at the 2.3 DTD yep: > > <!ELEMENT web-app (icon?, display-name?, description?, distributable?, > context-param*, filter*, filter-mapping*, listener*, servlet*, > servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?, > error-page*, taglib*, resource-env-ref*, resource-ref*, > security-constraint*, > login-config?, security-role*, env-entry*, ejb-ref*, ejb-local-ref*)> > > > I don't think they had listeners in 2.2, did they? > > Listeners came in 2.3 I think. > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |