Results 1 to 2 of 2
- 02-11-2004, 09:47 AM #1Jerome SuiGuest
Hi,
I'm running into incredible problems with my "hello world" WML script!
I use an emulator - Deckit - and a simple piece of code, pasted below.
My emulator simply refuses wmlscript: "Unhandled content type
text/vnd.wap.wmlscript"
I tried to compile it using the perl wmlsc
(http://search.cpan.org/~perrad/WAP-wmls-1.01/wmlsc), but it doesn't
like it either "Unhandled content type application/vnd.wap.wmlscriptc"
So I guess my emulator doesn't like wmlscript, or did I commit an
obvious mistake ?
If not, what emulator should I use (on both windows, or linux) ?
Thanks,
J.
in index.wml
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="no1" title="Go to URL">
<do type="options" label="Go">
<go href="check.wmls#go_url('W3Schools')"/>
</do>
</card>
</wml>
in check.wmls:
extern function go_url(the_url)
{
if (the_url=="W3Schools")
{
WMLBrowser.go("http://www.w3schools.com/wap.wml");
}
}
› See More: WMLscript, getting started ?
- 05-10-2005, 01:52 AM #2Newbie
- Posts
- 1
unhandled content type text/vnd.wap.wmlscript
hello
i am doing a project in wap.i am using deckit emulator and tomcat 4.1.31 webserver.when i wanted to access a page that contains wmlwcript i am getting the following error
"unhandled content type text/vnd.wap.wmlscript".i have added the following mime types to my web.xml file in tomcat
<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>
but still iam getting the error and i am using jdk1.4.
please help me as i am approaching the dead line.
thanks
k.vinay kumar
([email protected])
i am a new member of this group.
Similar Threads
- New Member Introductions
- Google Android
- Site Feedback & Suggestions
- alt.cellular.verizon
Tienda online de venta de vehículos comerciales.
in Chit Chat