That message indicates that your change worked as far as WTE/WAS is
concerned. :) Didn't it get any further this time?

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 10:04 AM
To: [EMAIL PROTECTED]
Subject: RE: DTD Reference Problem Encountered while exercise the Struts
Employeelist Example in VAJ WTE 3.5.3


Hi,
     I put struts-config_1_0.dtd  into my local c:\ root directory and then
used <!DOCTYPE struts-config SYSTEM "file:/c:/struts-config_1_0.dtd">
inside my struts-config.xml declaration, then I got following message

     "...... resolveEntity('null', 'file:/c:/struts-config_1_0.dtd') Not
registered, use system identifier..."

     Anyone can tell me what's wrong with my configuration and how to solve
this problem? Any inputs will be appreciated.

Rongbin





[EMAIL PROTECTED] on 08/01/2001 05:08:49 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  RE: DTD Reference Problem Encountered while exercise the Struts E
      mployeelist Example in VAJ WTE 3.5.3


Just for the sake of getting it working and at the expense of hard-coding,
extract the DTD's to some location on your drive and make the doctype
declaration look like:

<!DOCTYPE struts-config SYSTEM
"file:/c:/etc/etc/etc/struts-config_1_0.dtd">

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 4:31 PM
To: [EMAIL PROTECTED]
Subject: DTD Reference Problem Encountered while exercise the Struts
Employeelist Example in VAJ WTE 3.5.3


Hi,

     I tried  to exercise the employeelist example in my VAJ 3.5.3
environment. I
encountered a problem of locating a DTD file while starting Servlet Engine
listed below:

     (1) When I used <!DOCTYPE struts-config PUBLIC
               "-//Apache Software Foundation//DTD Struts Configuration
1.0//EN"

"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
     within the struts-config.xml
     I got error message of
"...... External entity not
found:"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";.


     (2) When I tried to use <!DOCTYPE struts-config SYSTEM

"http://localhost:8080/WEB-INF/struts-config_1_0.dtd";> or
                         <!DOCTYPE struts-config SYSTEM
"struts-config_1_0.dtd">
     within the struts-config.xml
     I got error message of
"...... Relative URI "/WEB-INF/struts-config_1_0.dtd"; cannot be resolved
without a document root URI".


     If someone can give me solutions or suggestions on how to fix this
problem, it will be appreciated.

Rongbin Cai
[EMAIL PROTECTED]






Reply via email to