Simon Jakesch wrote:

> hi,
>
> has anyone experince with generating WML sites with JSP. it sould be a
> problem making the sites and the content but the problem is... i need
> WML as an extension for the WAP site and the JSP enignie doesn't pick up
> anything else than .JSP to interpret it....
>
> any solution,
>
> bye,simon

Set the response content type to text/vnd.wap.wml. The charset is needed by some
WAP GWY's inorder to transcode it.

response.setContentType("text/vnd.wap.wml; charset=iso-8859-1");  //iso-8859-1 is
just an example.

This would do it.

/M
begin:vcard
n:Bj�rkman;Magnus
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Magnus Bj�rkman
end:vcard

Reply via email to