Hi all,
I try to develop a i18n enabled MVC website with dynamically selected
charsets. Orion gives me a hard time when I try to dynamically select the
charset of a JSP - (Tomcat works fine)  The Tags have no chance to set the
Locale of the response because the JspWriter is obtained before the tag has
a chance to do something useful, and something was written to the JspWriter
before calling the Tag.

Thank you

JSP snipplet:

<%@ taglib uri="http://jakarta.apache.org/taglibs/i18n-1.0"; prefix="i18n" %>
<i18n:bundle baseName="org.apache.taglibs.i18n.i18n-test"
localeAttribute="userLocale"/>

Orion compiled servlet snipplet :

public void _jspService(HttpServletRequest request, HttpServletResponse
response) throws java.io.IOException, ServletException
{ ...
  response.setContentType("text/html");
  ....
  JspWriter out = pageContext.getOut();
  org.apache.taglibs.i18n.BundleTag __tag0 = null;
  ....

  out.write("\n\n");
  // <i18n:bundle localeAttribute="userLocale"
baseName="org.apache.taglibs.i18n.i18n-test"/> start
  __tag0.setParent(null);
  __tag0.setBaseName("org.apache.taglibs.i18n.i18n-test");
  __tag0.setLocaleAttribute("userLocale");
  __tag0.doStartTag();




Reply via email to