Parse/read an XML doc with encoding Shift_JIS adds characters (2nd email)

2005-02-25 Thread Jerry Miernik
I am using a GetDictionary.jsp script to parse an XML document containing simple Japanese phrases encoded with Shift_JIS. What I observe is that after reading a phrase into a java.util.HashMap bean the phrase becomes longer and modified (really, corrupted). This (corrupted) phrase sent i

Parsing/reading an XML doc with encoding Shift_JIS adds characters?

2005-02-24 Thread Jerry Miernik
I am using a GetDictionary.jsp script to parse an XML document containing simple Japanese phrases encoded with Shift_JIS. What I observe is that after reading a phrase into a java.util.HashMap bean the phrase becomes longer and modified (really, corrupted). This (corrupted) phrase sen

Works! RE: 2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-10 Thread Jerry Miernik
t;tmc.addRequestProperty("Authorization","Basic "+b64creds); > > 2) Not with Basic. You might be able to rig something with Form. > That's not true. You can do: http://username:[EMAIL PROTECTED]/ so: URL tomcatMgr = new URL("http://manager:[EMA

2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Jerry Miernik
The question is related to undeploying a webapplication from a Java code. A connection to tomcat manager using URL tomcatMgr = new URL("http://localhost:8080/manager/undeploy?path=/any";); URLConnection tmc = tomcatMgr.openConnection(); results in: java.io.IOExcepti

RE: NoClassDefFoundError

2004-06-09 Thread Jerry Miernik
Try to move that file to $CATALINA_HOME/common/lib -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:50 AM To: tomcat-user Subject: NoClassDefFoundError Hi all! I'm new to Tomcat. I have a problem testing my web application (jsp p

how to - programmatically - authenticate oneself as Tomcat manager?

2004-06-09 Thread Jerry Miernik
The question is related to undeploying a webapplication from a Java code. A connection to tomcat manager using URL tomcatMgr = new URL("http://localhost:8080/manager/undeploy?path=/any";); URLConnection tmc = tomcatMgr.openConnection(); results in: java.io.IOExcepti

RE: RequestDispatcher in jspInit() ?

2004-06-01 Thread Jerry Miernik
of a JavaBean inside jspInit()? Thanks, Jerry. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 7:08 AM To: Tomcat Users List Subject: Re: RequestDispatcher in jspInit() ? No -Tim Jerry Miernik wrote: > Is it possible to

RequestDispatcher in jspInit() ?

2004-06-01 Thread Jerry Miernik
Is it possible to use RequestDispatcher's include method inside a jspInit(), to execute another JSP script while this JSP script is in its jspInit() method? Thanks, Jerry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For