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

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

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

2004-06-10 Thread Jerry Miernik
(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:[EMAIL PROTECTED]:8080/manager/undeploy?path=/any); Jake Jerry Miernik [EMAIL

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:

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

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:

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]

RE: RequestDispatcher in jspInit() ?

2004-06-01 Thread Jerry Miernik
Is there a syntax, I am missing, that enables usage 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