Thanks. But i really need to solve this problem. Can anyone help?
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > Nikita > First I would post this to > xerces-j-dev@xml.apache.org > and also let the folks at tomcat know this is > causing halts in your environment > tomcat-dev@jakarta.apache.org > At first glance this appears to be a genuine bug > altho attempts to find this item in bugzilla > returned null feel free to peruse > http://issues.apache.org/bugzilla/query.cgi > On further investigation your UTF-16 encoding may > not be supported in all the subsystems you are > using- > Anyone else know if all subsystems used by Tomcat > support UTF-16 to date > OR a way to know which ones have stepped up to the > plate? > HTH, > Martin- > ----- Original Message ----- > From: "nikita berdikov" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Sunday, December 18, 2005 3:01 PM > Subject: Re: Tomcat 5.0.28 + Oracle9i > > > >I tried to save jsp-file in UTF-8 using jEdit, but > it > > didn't help. What can help me? I'm trying to solve > the > > problem for about 4 days...i'm broken > > --- [EMAIL PROTECTED] wrote: > > > >> Quoting nikita berdikov <[EMAIL PROTECTED]>: > >> > >> > Hi! > >> > > >> > I have *.jsp page with a form. It sets several > >> > properties of a bean, that then connects to > Oracle > >> DB > >> > and inserts data into table. When i click > >> "Submit", i > >> > have the following error: > >> > > >> > HTTP Status 500 - > >> > > >> > > >> > > >> > type Exception report > >> > > >> > message > >> > > >> > description The server encountered an internal > >> error > >> > () that prevented > >> > it from fulfilling this request. > >> > This part of error message you're showing > >> > >> [Hide Quoted Text] > >> > root cause > >> > > >> > java.io.UTFDataFormatException: Invalid byte 2 > of > >> > 2-byte UTF-8 > >> > sequence. > >> > > >> > > >> > > > org.apache.jasper.xmlparser.UTF8Reader.invalidByte(UTF8Reader.java:615) > >> > > >> > > >> > > > org.apache.jasper.xmlparser.UTF8Reader.read(UTF8Reader.java:305) > >> > > >> > >> suggests to me that the issue is about the > encoding > >> of the JSP file > >> Tomcat's trying to compile, not Oracle or the > >> request encoding; you > >> need to make sure that the way that files' > encoded > >> is the way it says > >> it's encoded. So check the XML declaration on > the > >> JSP file; if > >> necessary, you might try opening up the JSP file > in > >> an encoding-aware > >> editor such as jEdit (Notepad and Wordpad are > *not* > >> generally acceptable for this kind of work =), > and > >> making sure the file > >> is saved as properly encoded UTF-8. > >> > >> HTH > >> > >> > > > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: > >> [EMAIL PROTECTED] > >> For additional commands, e-mail: > >> [EMAIL PROTECTED] > >> > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]