I'm having some baffling behavior with my app.  I have a "custom" web page
that streams page xml content.  I thought this would be pretty
straightforward.  should be able to just do this right?

    @Override
    protected void configureResponse() {
        super.configureResponse();
        getResponse().setContentType("application/xml; charset=" +
ENCODING);
        getResponse().setCharacterEncoding(ENCODING);
    }

well, my response continues to be this (according to tamper data):

22:35:38.184[275ms][total 431ms] Status: 200[OK]
GET http://localhost:8080/view/rss/id/1 Load Flags[VALIDATE_ALWAYS
LOAD_DOCUMENT_URI  LOAD_INITIAL_DOCUMENT_URI  ] Content Size[-1] Mime
Type[application/x-unknown-content-type]
   Request Headers:
      Host[localhost:8080]
      User-Agent[Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)]
      Accept[text/xml,application/xml,application/xhtml+xml,text/html;q= 0.9
,text/plain;q=0.8,image/png,*/*;q=0.5]
      Accept-Language[en-us,en;q=0.5]
      Accept-Encoding[gzip,deflate]
      Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
      Keep-Alive[300]
      Connection[keep-alive]
      Cookie[JSESSIONID=1oeqa9ouw2rgw]
      Cache-Control[max-age=0]
   Response Headers:
      Transfer-Encoding[chunked]
      Server[Jetty(6.1.5)]


what am I doing wrong?  i've tried to find related info, and this thread
seems somewhat relevant, but there's no solution:
http://permalink.gmane.org/gmane.comp.java.wicket.devel/7920

Ryan

Reply via email to