I'll have to try the latest version of Xerces. I didn't have any luck with
Xerces 1.22. I got things running using JAXP 1.01, but that seems rather
backwards to me. I'm also getting errors during JSP page compiles, but I
don't think that's related to the XML issue.
As for converting from web.xml to name.webapp, there's a file called
webapp.xsl that does the conversion for you. Here's the line I use from my
batch file:
java -cp c:/java/xalan.jar;c:/java/xerces.jar org.apache.xalan.xslt.Process
-IN %1 -xsl "c:/program files/ibm/visualage for
java/ide/project_resources/ibm websphere test
environment/properties/webapp.xsl" -OUT %2
Example usage:
cvtwebxml c:/dev/phone/web/web-inf/web.xml
c:/wte/phone/servlets/phone.webapp
--
Dan Miser
http://www.distribucon.com
>From: "Jon.Ridgway" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: Struts and VisualAge 3.5.3 with WTE
>Date: Wed, 2 May 2001 17:09:29 +0100
>
>Hi Kyle,
>
>Sorry to bother you again. I take it from your reply that VisualAge 3.5.3
>does not support web.xml files, is there an easy way to convert both ways ?
>Also I found that importing the latest version of xerces worked for me.
>Struts seems to use some of its classes as well as jaxp stuff (doesn't seem
>to bother Websphere test env. Not sure about EJB env yet, I'll let you know
>tomorrow). Off to catch the last of the sun.....
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com