Hi.

I use the same database and Struts. The data of the database displays well
but only
if i use <%@ page contentType="text/html; charset=iso-8859-7" %>

I think U must set the corect character encoding for the PageContext

PageContext .setCharacterEncoding(.....)

Jim Theodoridis

----- Original Message -----
Georg thanks for your concern.
The options are not from the resources file.
They are read from mySQL.
I use the html:select and the html:options tag
to display the records.
I debugged the Options Taga from the struts source
and it calls
ResponseUtils.write(pageContext, sb.toString());

which is this
public static void write(PageContext pageContext, String text)
        throws JspException {

        JspWriter writer = pageContext.getOut();
        try {
            writer.print(text);
        } catch (IOException e) {
            RequestUtils.saveException(pageContext, e);
            throw new JspException
                (messages.getMessage("write.io", e.toString()));
        }

    }

the text in "writer.print(text);"
looks fine before print is called
but in the html I get ???? instead for the records

Thanks
(Geia sou kai esena)




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to