wood burning stoves 2.0*
The moose likes JSP and the fly likes Problem with content- type in jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with content- type in jsp page" Watch "Problem with content- type in jsp page" New topic

Problem with content- type in jsp page

Karan Vij

Joined: Feb 27, 2007
Posts: 2
I m trying to use a jsp page to get response from a uddi registry(SOAP Response).. But im getting the following exception:

faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html; charset=utf-8", must be: "text/xml".

I tried to change the content=html/xml under content-type in same jsp page but the error is same. So I don't know where to change the content type.
Can anyone help me, please?

Baiju Varugese
Ranch Hand

Joined: Dec 16, 2003
Posts: 74
can you post the code that causes the problem ?

Measure twice cut once carpenter theory <br /> <br />Baiju <br />SCJCP, SCBCD, IBM-486, IBM-484, SCEA Part I
It is sorta covered in the JavaRanch Style Guide.
subject: Problem with content- type in jsp page
Similar Threads
Unsupported response content type "text/html", must be: "text/xml".
Problem with sessions: Always getting old session id.
Problem with content type in jsp page
servlet mapping
Jboss 5.1.0 jsp:root not working