Hi All,

I just finished writing this web app that is based on JSPs and Actions under
Jakarta Struts deployed in Tomcat 4.02. The app. is providing an interface
to read and write to an MDB file (MS-Access) bilingual information in
English and in Hebrew. I found out that hebrew characters sent through HTML
forms is sent encoded under ASCII (or maybe UTF-8) rather than in the
encoding of the page itself (contentType="text/html; charset=ISO-8859-8", or
windows-1255, or any suitable one for displaying Hebrew).
I know that Struts have nothing to do with it because when I changed the
form's method to GET i saw the url contained 8-bit character entities and
not 16-bit...

First Question, therefore: Is there a way to force a browser submit a form
using the desired encoding, specifically not 8-bit one?

Then I had to write conversion process of the Hebrew charset under ASCII to
ISO8859, quick and dirty but what could I do. Then another funny thing
happened: when I ported the app. from Win2000 to XP it stopped working, due
to the following phenomenon:
Browser could _display_ Hebrew chars only when encoded ISO8859 or
windows-1255(as before) but when my JSPs were trying to send the converted
information back to the DB, Access stored them as question marks. Finally I
found out that in order to store information in the DB I had to convert it
back to ASCII. Before surrendering, I tried fiddling around with the local
settings of the OS, the database version (97,2000,2002) with no result.

Question number two, then: what-da-funk just happened there?

Any help greatly appreciated. I'm afraid I might be missing something basic
here about html, http or other charset related.

Thanks,
zm.


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Rahul
Asanikar
Sent: Thursday, February 14, 2002 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Accessing via proxy


Input it from the user :-) you can't guess it right?

----- Original Message -----
From: Gast, Thorsten ISC 6 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 5:30 PM
Subject: Accessing via proxy


> Hello,
> I'm writing a client which shall access the internet via a proxy. I know
how
> to set the properties, that the proxy can be connected. But I didn't solve
> the problem to make the authentification. The proxy needs user- and
> password-input. How can I submit this information to the proxy.
> Thanks in advance
>
> Thorsten
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to