[plug] Re: Java servlets with tomcat application server

James Devenish devenish at guild.uwa.edu.au
Thu Jun 26 19:09:21 WST 2003


In message <courier.3EFAAABD.000055E4 at wasp.net.au>
on Thu, Jun 26, 2003 at 04:11:41PM +0800, David Buddrige wrote:
> One of my collegues thinks that the problem is in the .xml file...

Note sure if this has any bearing on your particular problem, but note
that you should always make your XML files well-formed and valid (in
terms of the XML specification). Otherwise, parsers may skip over your
data, or applications may have difficulty dealing with unique keys.
Additionally, applications might simply refuse to deal with (or worse:
ignore) data that are not well-formed and valid.

For example, start your web.xml file with 

<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">

(Or whatever DTD version is appropriate.)




More information about the plug mailing list