Hi craig
I just checked that the doctype declarations in both the web.xml and struts-config.xml
file are identical..
I am just enclosing the doctype declaration
**WEB.XML**
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
and for
********struts-config.xml *****
<? xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
I am still stuck at it and need ur help..
Thanx
Anand Raman
ps : can i attach the web.xml and struts-config.xml in question to this list..
On Sun, 22 October 2000, "Craig R. McClanahan" wrote:
>
> Anand Raman wrote:
>
> > hi guys
> > I stated testing struts after creating a small context almost on the
> > lines of the struts - example application..
> >
> > However whenever tomcat starts this applcation it compains of SAXException.
> > These errors are not thrown for the struts-example application..
> >
> > What could be the possible cause as the files are in the same directory
> > as they are supposed to be in and i dont thnk i am missing something
> > significant..
> >
> > I have attached the tack trace to this file..
> > Could some one please look atit and tell me whats going wrong..
> >
>
> The first error message is complaining about the DOCTYPE declaration at the top
> of your configuration file. Check the syntax of this heading very carefully
> against the Struts example, and against the XML spec.
>
> The other errors are most likely triggered by the first one.
>
> >
> > Appreciate ur help
> > Anand
> >
>
> Craig McClanahan
>
> ====================
> See you at ApacheCon Europe <http://www.apachecon.com>!
> Session VS01 (23-Oct 13h00-17h00): Sun Technical Briefing
> Session T06 (24-Oct 14h00-15h00): Migrating Apache JServ
> Applications to Tomcat
-------------------------------------------------
Get personalized e-mail and a web address or your
own free e-mail at http://www.networksolutions.com.