AW: [opencms-dev] serving wml

Tilman Rossmy tilman at tilman-rossmy.de
Fri Nov 25 10:49:48 CET 2005


thanks olli, but unfortunately it does not work...

  _____  

Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Olli Aro
Gesendet: Freitag, 25. November 2005 09:36
An: 'The OpenCms mailing list'
Betreff: RE: [opencms-dev] serving wml



Would the following work?

 

Regards,

 

Olli

 

<jsp:useBean id="cmsbean" class="org.opencms.jsp.CmsJspBean">
 <% cmsbean.init(pageContext, request, response); %>
 </jsp:useBean>

<%

cmsbean.
<file:///C:\JavaDocs\OpenCMS6\org\opencms\jsp\CmsJspBean.html#getResponse()>
getResponse()setContenttype("text/vnd.wap.wml");

%>

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tilman Rossmy
Sent: 24 November 2005 18:48
To: opencms-dev at opencms.org
Subject: [opencms-dev] serving wml

 

Hi all!

I have a jsp that uses the wall taglib to render dynamic content for
different mobile devices, wml capable devices will 

get wml. Now I have a problem setting the content-type in the jsp. It seems
that response.setContenttype("text/vnd.wap.wml")

has no effect in is overwritten by the OpenCmsServlet. I'm sure this is a
question asked plenty of times before, but there is nothing

much I found in the archive. Thanks for any help.

Tilman





512k Broadband £14.99 per month
Unlimited Downloads - No extra Costs
£14.99 per month (inc. VAT)
Order Now  <http://www.adsl4less.com/> www.adsl4less.com 




--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.7/181 - Release Date: 24/11/2005



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.7/181 - Release Date: 24/11/2005


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051125/38f172b8/attachment.htm>


More information about the opencms-dev mailing list