wml wmls解析问题
我用的是 tomcat 6.0做服务器,模拟器用的是Nokia 也用过Opera.可为什么我能解析wml却不能解析wmls都提示我保存文件.看了说好像是服务器设置的问题,可下面是我的服务器的设置,大家帮帮我看看是什么问题.
<mime-mapping>
<!-- Wireless Bitmap -->
<extension>wbmp</extension>
<mime-type>image/vnd.wap.wbmp</mime-type>
</mime-mapping>
<mime-mapping>
<!-- WML Source -->
<extension>wml</extension>
<mime-type>text/vnd.wap.wml</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Compiled WML -->
<extension>wmlc</extension>
<mime-type>application/vnd.wap.wmlc</mime-type>
</mime-mapping>
<mime-mapping>
<!-- WML Script Source -->
<extension>wmls</extension>
<mime-type>text/vnd.wap.wmlscript</mime-type>
</mime-mapping>
<mime-mapping>
<!-- Compiled WML Script -->
<extension>wmlscriptc</extension>
<mime-type>application/vnd.wap.wmlscriptc</mime-type>
</mime-mapping>
<mime-mapping>
看这配置好像设置了解释wmls的呢.我从调试器里看的文件头text/vnd.wap.wmlscript这个
是不是需要在程序里进行设置吗?
我就是用nokia给的代码来运行都不成功.请高人指点下.谢谢
[解决办法]
就是你用的模拟器的问题,opera肯定不支持了
用M3GATE或者openwave的模拟器试试