aspose file tools
The moose likes Servlets and the fly likes Taglib Problem under Resin 2.1.11 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Taglib Problem under Resin 2.1.11" Watch "Taglib Problem under Resin 2.1.11" New topic

Taglib Problem under Resin 2.1.11

Hua Yu

Joined: Oct 29, 2001
Posts: 3
Hi all, I have experienced a very very strange problem under resin 2.1.11.
The environment is Resin2.1.11/MySql 4/ConnectorJ 3.08, all use default character encoding setting(iso-8859-1).
the data in mysql are store using iso-8859-1, so I use a taglib to do encoding convertion and show the converted chinese character on webpage. All program runs perfect under tomcat 4.1.18, but encounter encoding problem under resin.
I added debug code in the taglib, and print both Strings before conversion and after. The code snippet like

I've compare the two "srcString" value under two server, no difference, but after encoding, tomcat get the correct encoding result, but resin get ??? only.
I think this problem is not concerned with mysql jdbc/application server, coz it is only console print...
Has anyone encounter the same problem before? can anyone help me? This really made me crazy for several days...

SCJP2 89%<br />SCWCD 88%<br />SCEA PartI 87%<br />SCEA PartII ??
I agree. Here's the link:
subject: Taglib Problem under Resin 2.1.11