|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Sorry not sure if this should be in .NET Forum or here.
Using IIS 5.0 on Win2k I'm trying to get a simple .aspx file to return wml. Here's the default.aspx file from my server: <%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" Language="C#" %> <%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile"%> <mobile:Form runat="server"> <mobile:Label runat="server"> Hello, world! </mobile:Label> </Mobile:Form> I've set all the .wml mime types in IIS, and have .NET Frame work 1.1 installed. I've even tried explictly setting the mime type in the file like so: <%@ Page Inherits="System.Web.UI.MobileControls.MobilePage" ContentType="text/vnd.wap.wml" %> Nothing seems to work, I always get back this html: <html> <head> <meta http-equiv="Cache-Control" content="max-age=0"/> </head> <p:card> <p:do type="accept"> <p:noop/> </p:do> <p>Hello, world!</p> </p:card> </html> So the page only works with phone/emulators which can use html (i.e. Openwave, Nokia 6320) but not with those that can't (i.e. http://www.wapsilon.com/ , Samsung X450). Any help much appreciated. Many thanks. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > IIS returns HTML from default.aspx not WML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|