Web tier: servlets, JSP, Web frameworks: Jsp included in Request dispatcher messes up with characters

  1. I have a jsp which has utf-8 encoded text. I include another jsp through request dispatcher and the included jsp messes up the text where as main jsp displays the text correctly.

    The main jsp includes the other jsp and passes a warpper.

    RequestDispatcher dispatcher = pageContext.getRequest().getRequestDispatcher("other.jsp");

    SimpleServletResponseWrapper wrapper
            = new SimpleServletResponseWrapper(response,
    dispatcher.include(request, wrapper);

    Fails in OC4J

    Threaded Messages (1)

  2. Notes for create wrapper[ Go to top ]


                    i have need to create some side wrapper funtion n my project, that do some specific process, that is every 30 min to take updateble news in my website and save my database, how does do this? please give suggestion for me.