×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    3

    refresh issue with conversion of wml to xhtml

    Hi

    I am upgrading my WAP 1.X pages to WAP2 (XHTML) and found myself having extreme difficulties with one issue.



    With the WAP 1.x I use a timer to refresh the deck every x seconds, I tried using META but found that the same code that works perfectly with Microsoft IE (6) will not refresh the page on my nokia 3650

    Below is my code

    CODE: (ASP.NET/VB.NET)



    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>

    <title>XHTML 1.0</title>

    <meta http-equiv="Refresh" content="5;URL=webform1.aspx?<%=factor%>" />

    <meta http-equiv="Cache-Control" content="must-revalidate" forua=true/>

    <meta http-equiv="Cache-Control" content="no-cache" forua=true/>

    </head>

    <body>

    <font size="5" color="blue">This is some text!</font>

    <div style="color:red"><%=str%></div>[&szlig; str is the server time]

    </body>

    </html>



    I use "application/xhtml+xml" as the response content type (when requests come from a user agent other then IE)



    Is there a different manner of automatically refreshing a XHTML page on a nokia cellular device?



    Thank you

    Jonathan

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    466
    Hi,

    <meta> element is not currently supported in Nokia dualmode browser. Therefore you cannot use it to refresh pages which results that only static XHTML pages are supported.

    Kind regards,
    Satu/Forum Nokia Developer Support

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    2
    any possible way to redirect page in xhtml?
    many thx,
    Ken

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×