locked
wml ,wmlscript and asp pages (urgent) RRS feed

  • Question

  • User-2050545975 posted

     hi frds

    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

    archu 

     

     

     

     

    Friday, November 2, 2007 2:05 AM

Answers

  • User-2050545975 posted

     Hi frds

    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 

    http://www.devasp.com/samples/dsn_sql.asp 

    in this url u can see how to use the created dsn in asp page. 

    http://www.devasp.com/samples/dsn.asp 

     u can check the below url which shows how to "submit Form Data to the WAp server with wmlscript"

    http://www.developershome.com/wap/wmlscript/wmlscript_tutorial.asp?page=validateFormData5 

    Hope this works for those who are in need

    Gud luck

    Archu 

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 2, 2007 8:49 AM

All replies

  • User-2050545975 posted

     Hi frds

    one more problem i'm facing is how to use sqlserver  in these application ie in asp

    plz  help its very urgent

    thank u 

    Friday, November 2, 2007 7:33 AM
  • User-2050545975 posted

     Hi frds

    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 

    http://www.devasp.com/samples/dsn_sql.asp 

    in this url u can see how to use the created dsn in asp page. 

    http://www.devasp.com/samples/dsn.asp 

     u can check the below url which shows how to "submit Form Data to the WAp server with wmlscript"

    http://www.developershome.com/wap/wmlscript/wmlscript_tutorial.asp?page=validateFormData5 

    Hope this works for those who are in need

    Gud luck

    Archu 

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 2, 2007 8:49 AM