have a look at<br><a href="http://www.opencms-forum.de/viewtopic.php?t=1263">http://www.opencms-forum.de/viewtopic.php?t=1263</a><br><br>hth<br><br>sigi<br><br><div><span class="gmail_quote">On 3/1/06, <b class="gmail_sendername">
Ben Hurwitz</b> <<a href="mailto:bhurwitz@m-qube.com">bhurwitz@m-qube.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hello, I am a new programmer of OpenCms and I am trying to
use it to serve content to multiple types of mobile devices (using wurfl and
the wall tag library) from JSP pages. I'm encountering a problem
because it appears that OpenCms is constantly setting the Content-Type header
on the response to text/html, overriding my attempts to set it otherwise.
My attempts include calling the setContentType() method on the
HttpServletResponse object, calling the setHeader() method on that same
response object, and setting the contentType attribute on the @page directive.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">What is the solution or workaround so that I can set the response
content-type, e.g., to <span>application/vnd.wap.xhtml+xml </span>or
<span>text/vnd.wap.wml?</span></span></font></p>
<p><span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></span></p>
<p><span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Note: I searched the mailing list
archives on this topic and did not see any responses to this question that
would work in OpenCms 6.0.4.</span></font></span></p>
<p><span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></span></p>
<p><span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks for any help.</span></font></span></p>
<p><span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></span></p>
<p><span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Ben Hurwitz</span></font></span><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
</div>
</div><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Mit freundlichen Grüßen<br><br>Siegfried Puchbauer