Jump to content

WAP development and asp


unisys

Recommended Posts

hi all,we are working on wap2.0. we are developing a wap portal as wap.ABC.com we are using wml and asp.our wml page works good but when we call asp page from wml page, we face a problem. the problem is that the mobile device start downloading after calling asp page. and when download completes there is a file named date .asp saved in a folder. when we click on that file(date.asp) a message comes like file format not supported.but we just want current date on mobile device not want to download on that device. can somebody help me. what's the problem with asp page. why this download? is there any otherway to display things on mobile device.Here i give u all codes of wml and asp page. please check it and help me.<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""http://www.WAPforum.org/DTD/wml_1.1.xml"><WML><head><meta http-equiv="Cache-Control" content="max-age=0"/></head><card id="Welcome" title="Welcome Page"><p align ='center'>Welcome To <b>ABC.com</b></p><p align ='center'><big>We are coming soon !</big><br /><a href="date.asp">Current Date</a></p><p align ='center'>A Product of <br/> <b>XYZ InfoSolutions</b></p></card></WML><% @LANGUAGE="VBSCRIPT" %><% Response.ContentType = "text/vnd.wap.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="card1"><do type="prev"><noop /></do><do type="Date"><go href="#card2"></do><p align ='center'><b>Ready for some interactive WAP?</b></p></card><card id="card2"><p align ='center'>The date is <%=date()%></p></card></WML> please solve my problem.thanks in advance.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...