Last post Nov 02, 2007 08:49 AM by archu136
Nov 02, 2007 02:05 AM|archu136|LINK
I have developed an application using wml and wmlscript for Submitting Form Data to the WAP Server with WMLScript
in wml file i have navigated to "result.asp" page
but when i run the application its showing the error " Unsupported Content-Type: application/x-asp"
how to fix this?its very urgent
i wrote the code in notepad and saved the file as "result.asp" .
should i install any s/w for creating asp pages? Visual studio .net 2005 is already installed in my system
plz frds if any one know how to fix then plz do reply its very urgent
thank u in advance
Nov 02, 2007 07:33 AM|archu136|LINK
one more problem i'm facing is how to use sqlserver in these application ie in asp
plz help its very urgent
Nov 02, 2007 08:49 AM|archu136|LINK
I got the solution for the above problem
1) for navigating to asp page in wml
for this giv the full path of asp page in wml eg:
< a href="http://localhost/wapsamples/Wap.asp > go to asp page </a>
one more thing to remember is ,u have to create a virtual directory for the folder which consists asp pages in wwwroot
here in this eg :create virtual directory for this folder " wapSamples " in wwwroot.
for the second problem
2)using sqlserver in wml
first create a dsn for the sqlserver then provide the dsnname userid and pwd in the wml file
in this url u can see how to create dsn for sqlserver
in this url u can see how to use the created dsn in asp page.
u can check the below url which shows how to "submit Form Data to the WAp server with wmlscript"
Hope this works for those who are in need