|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi,
I have added these lines to IIS. #MIME types for WAP #For normal WML pages AddType text/vnd.wap.wml .wml #For WML embedded graphics AddType image/vnd.wap.wbmp .wbmp #End MIME types for WAP But when i try to open a wml page the browser asks me wether i want to download the page instead of showing the contents of the page. The wap browser i use is Nokia Mobile Browser 4.1 wireless companion. I am using windows XP.Plz help me. Here is my wml code for welcome.asp file. <%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="Test" title="My first asp wml page"> <p> <% Response.Write "This string is generated server side by asp" %> </p> </card> </wml> Thanks in advance Naumanz |
|
#2
|
||||
|
||||
|
I've never worked in asp before. But I did notice you leave the encoding off the header. Don't know if this is the problem or not though.
Below is what I use and believe to be necessary. Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.WAPforum.org/DTD/wml_1.1.xml"> Also... Does it work if you don't use asp and just a straight up .wml file? |
|
#3
|
|||
|
|||
|
it doesn't effect at all....
everytime it open a dialogue box.. do you want to open or save a file ? I need to stop this dialogue box... |
|
#4
|
||||
|
||||
|
If you are not able to view the page as a regualer WML file then I would believe the problem to be with the way your server is configured.
If you can view it as a wml file then there's something wrong with your asp code. Maybe the asp app on the server. Again, never worked in ASP before, but that will at least give you an idea as to where to start. |
|
#5
|
||||
|
||||
|
Even when you have a static wml page?
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > configure IIS to parse wml pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|