"Cp1252" is not a valid XML encoding by W3C standards. This is an (undesirable) extension provided by some Microsoft XML tools.
Try using "ISO-8859-1", it will probably be enough to handle most european languages. *Saran Gerry Chike wrote: > > http://community.borland.com/article/0,1410,27646,00.html > > At 12:15 PM 10/08/2023 -0400, you wrote: > >Help, I can't get struts to work with Jbuilder. > > > >I have downloaded the Struts 1.0 archive. I have created a library called Struts >which points to the Struts and JDBC. jar files. I have unzipped the struts-example >war file to the Jbuilder4/tomcat/webapps directory. I then created a project, >struts-example, and pointed it to the webapps directory so that I could debug the >app. I also downloaded the tomcat3.2 open tool for JBuilder. I downloaded Tomcat >3.2.3 and also moved the struts-example.war file there. When I started tomcat 3.2.3 >the war unarchived properly but I got an xml error. I downloaded the latest version >of xerces and jaxp and placed them in the tomcat3.2.3/lib directory. This allowed me >to start and view the struts example. > > > >In my struts-example project I have the servlets, struts and xerces libraries >referenced. I can compile the code but when I try to debug one of the sample jsp >files I get the below error. I am using a newly installed instance of JBuilder 4. Can >someone please tell me what I am doing wrong. > > > >Thanks > > > >Alex > > > >G:\JBuilder4\jdk1.3\bin\javaw -classic -classpath >"G:\Java\jakarta-tomcat-3.2.3\lib\webserver.jar;G:\Java\jakarta-tomcat-3.2.3\lib\jasper.jar;G:\Java\jakarta-tomcat-3.2.3\lib\parser.jar;G:\Java\jakarta-tomcat-3.2.3\lib\jaxp.jar;G:\JBuilder4\lib\servlet.jar;G:\JBuilder4\lib\webserverglue.jar;G:\JBuilder4\tomcat\webapps\struts-example\web-inf\classes;G:\JBuilder4\lib\servlet.jar;G:\Java\Classes\jakarta-struts-1.0\lib\jdbc2_0-stdext.jar;G:\Java\Classes\jakarta-struts-1.0\lib\struts.jar;G:\Java\Classes\xerces-1_4_3\xerces.jar;G:\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;G:\JBuilder4\jdk1.3\jre\lib\i18n.jar;G:\JBuilder4\jdk1.3\jre\lib\jaws.jar;G:\JBuilder4\jdk1.3\jre\lib\rt.jar;G:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;G:\JBuilder4\jdk1.3\lib\dt.jar;G:\JBuilder4\jdk1.3\lib\tools.jar" > -Xdebug -Xnoagent -Djava.compiler=NONE >-Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y >org.apache.tomcat.startup.Tomcat -config >G:\JBuilder4\tomcat\webapps\struts-example\conf\serve! > r8080. > xml > > > >ERROR reading G:\JBuilder4\tomcat\webapps\struts-example\conf\server8080.xml > > > >At The encoding "Cp1252" is not supported. > > > >FATAL: configuration error > > > >org.xml.sax.SAXParseException: The encoding "Cp1252" is not supported. > > at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:233) > > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187) > > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) > > > > > > ---------------------------------------------------------------------------- > . . Gerry Chike > .|. .|. > .|||. .|||. Cisco Systems - RTP > .|||||. .|||||. Phone: +1 919.392.2701 > .:|||||||:. .:|||||||:. 7025 Kit Creek Rd RTP, NC 27709-4987 > Cisco Systems [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

