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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with content- type in jsp page" Watch "Problem with content- type in jsp page" New topic
Author

Problem with content- type in jsp page

Karan Vij
Greenhorn

Joined: Feb 27, 2007
Posts: 2
Hi,
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?

Thanks,
Karan
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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