mime-type for wml

Hi,

I developing a wap application. I using jsp to run the wml code. I also using tomcat server.

When i run on the nokia simulator, error message saying mime-type not supported.

Do you know how to write the mime-type for jsp to wml in tomcat. Is there anything that i miss out in order for my program to run.

Thanx in advance.

[367 byte] By [caiyun01] at [2007-9-26 2:11:54]
# 1
hi,the mime type istext/vnd.wap.wmlfor wml paGES.text/vnd.wap.wmlSCRIPTFOR WML SCRIPT REGARDS SRINI
vams00 at 2007-6-29 9:04:31 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

How do you write the code? In jsp or tomcat?

I writen in jsp code:

response.setContentType("text/vnd.wap.wml")

yet, the nokia simulator still give me error that mime type not supported. Any idea?

Also, how do i know whether the tomcat working with my nokia simulator?

Please help me if you can. Thanx..

caiyun01 at 2007-6-29 9:04:31 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
hi,you have to add this mime type also to your web server. it must first be able to deliver this mime type.check up your web server documentation regards srini
vams00 at 2007-6-29 9:04:31 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...