.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 17th, 2001, 07:52 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
WAP & ASP

<i><b>Originally posted by : leo (leo@hydrant.co.uk)</b></i><br />Anyone using Nokia WAP toolkit? <br /><br />As soon as I add the line.... <br /><%Response.ContentType = "text/vnd.wap.wml"%> <br /><br />to the top of my pages to set them up for wml / asp content - The 7110 emulator refuses to show the pages. I can add the line just below the ususal <?xml version=1.0?> tag but then all my other tags are shown along with my content!<br /><br />any help would be much appreciated!<br />

Reply With Quote
  #2  
Old February 19th, 2001, 07:03 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : leo (leo@hydrant.co.uk)</b></i><br />yes I know I'm replying to my own question. HOWEVER having found a solution to the problem I thought I'd let anyone else having similar problems know whats going wrong!<br /><br />Most code examples for this wap / database hookup actually inaccurate code - it should look like this:-<br /><br /><% Response.ContentType = "text/vnd.wap.wml" %><?xml version="1.0"?><br /><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"<br />"http://www.wapforum.org/DTD/wml_1.1.xml"><br /><wml><br />ect..etc..<br /><br />THE MUST BE NO SPACE ? TAB OR RETURN BETWEEN THE Response.ContentType and the xml statements they must also be on the very first line of the code otherwise The Nokia browser won't recognise the content type statement. Many examples show the xml statement on a new line below the reponse write line THIS WILL NOT WORK!<br /><br />Hope this helps someone as desparate as I was!<br /><br />leo<br />

Reply With Quote
  #3  
Old February 20th, 2001, 05:51 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : M </b></i><br />Hi,<br />there was no problem with my asp page when I have included the <% response.contenttype......<br />and then the <br /><?xml version="1.0"?><br /><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"<br />"http://www.wapforum.org/DTD/wml_1.1.xml"><br /><wml><br />......<br />on separate lines.I have used the Nokia browser.<br />Check the URL to which your pointing to.it should be "http://www.wapforum.org...." and not "http://www.phone.c......".<br /><br /><br /><br />------------<br />leo at 2/19/2001 5:03:36 PM<br /><br />yes I know I'm replying to my own question. HOWEVER having found a solution to the problem I thought I'd let anyone else having similar problems know whats going wrong!<br /><br />Most code examples for this wap / database hookup actually inaccurate code - it should look like this:-<br /><br /><% Response.ContentType = "text/vnd.wap.wml" %><?xml version="1.0"?><br /><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"<br />"http://www.wapforum.org/DTD/wml_1.1.xml"><br /><wml><br />ect..etc..<br /><br />THE MUST BE NO SPACE ? TAB OR RETURN BETWEEN THE Response.ContentType and the xml statements they must also be on the very first line of the code otherwise The Nokia browser won't recognise the content type statement. Many examples show the xml statement on a new line below the reponse write line THIS WILL NOT WORK!<br /><br />Hope this helps someone as desparate as I was!<br /><br />leo<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > WAP & ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway