[opencms-dev] serving wml

Olli Aro olli_aro at yahoo.co.uk
Fri Nov 25 09:36:01 CET 2005


Would the following work?

 

Regards,

 

Olli

 

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

<%

cmsbean. HYPERLINK
"file:///C:\\JavaDocs\\OpenCMS6\\org\\opencms\\jsp\\CmsJspBean.html#getRespo
nse()"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


--
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
 








512k Broadband Ł14.99 per month
Unlimited Downloads - No extra Costs
Ł14.99 per month (inc. VAT)
Order Now www.adsl4less.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051125/f56d9091/attachment.htm>


More information about the opencms-dev mailing list