Running ASP with WML

Contributed by
Rating: 5 stars5 stars5 stars5 stars5 stars / 14
June 17, 2000
Rate this Article:
MEH MEH++


SEARCH ASP FREE
TOOLS YOU CAN USE

advertisement

- by Michael Wright

As long as you know that your WML is correct then youonly need know a few things about running ASP with WML. First, removethe file extension .wml and change it to .asp as a normal. You mustthen add the following code to the very top of the page:

<% Response.ContentType = "text/vnd.wap.wml" %>

The above will add the specific MIME type to the ASP file and now youcan to add WML tags and ASP scripts. The main thing really differentabout implementing ASP into WML rather than HTML is that you mustremember that any text that is returned from an ASP variable should beplaced between <P> </P> tags before displaying it. Beespecially careful about using components, as many may return HTML backinto the WML code. There will be more about ASP within WML and examplesof this within my next article.

blog comments powered by Disqus
CODE EXAMPLES ARTICLES

- Bipartite Graphs
- Connectivity in Graphs
- The Ford-Fulkerson Algorithm
- Critical Paths
- The Bellman-Ford and Roy-Floyd Algorithms
- Shortest Path Algorithms in Graphs
- Minimum Spanning Tree
- Articulation Edges and Vertexes
- Circles and Connectivity in Graphs
- Depth-First Search in Graphs
- Breadth-First Search in Graphs
- The Prufer Code and the Floyd-Warshall Algor...
- An Insight into Graphs
- Coding a Custom Object with WSC
- Creating a Custom Object with WSC

ASP Web Hosting ASP.Net Web Hosting Windows Web Hosting
 
 
 

ASP Free Forums 
 RSS  Tutorials RSS
 RSS  Forums RSS
 RSS  All Feeds
Site Map 
Request Media Kit
Write For Us Get Paid 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Privacy Policy 
Support 


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap
Most Popular Topics
All ASP.Net Tutorials