tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guy <...@polylab.sfu.ca>
Subject Content-Type: text/vnd.wap.wml
Date Fri, 01 Dec 2000 04:33:33 GMT
I am running a servlet(on Tomcat 3.1beta) (that uses XT and an XSLT
stylesheet to convert data to WML). When I try to affect the output
header with
response.setContentType("text,vnd.wap.xml"), my output contains:
HTTP/1.0 200 OK
Content-Type: text/vnd.wap.wml
Content-Type: application/xml

which doesn't work.
(Is the XT servlet outputing its default content after my servlet
outputs
what I want?Or does Tomcat set it?)
How do I get the desired results? ie. only:

HTTP/1.0 200 OK
Content-Type: text/vnd.wap.wml

Thanks
Guy

PS I found similar questions in the archives but I am not exactly sure
how to solve the problem :)


Mime
View raw message