×

Discussion Board

Results 1 to 3 of 3

Thread: catch tag?

  1. #1
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    catch tag?

    Do nokia phones support <catch>?

    If no, is there another tag with the same functionallity?

    The problem i need to solve is:

    I have a local wml page with some links to local files:

    <go href="file://c:/aud/intro.amr" />. If the file is not available I want the browser to connect to an alternative address to get the file, for example <go href="http://www.myapp.com/intro.amr" />.

    Is there a way to obtain that functionallity? I mean catching an exception, using some script...

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Dec 2003
    Posts
    8

    xhtml - not dynamic

    Hi,

    You can't add dynamic content or scripts to xhtml-page. You can e.g. change your page-type to jsp and add the desired functionality to the scriptlets. This means of course, that you have to had the java installed & web-container running on your server.

  3. #3
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329
    Hi jrutanen, thanks for your quick response.

    The problem is I don't have a server cos I'm sending the page and all the links (pictures, audio files...) over bluetooth.

    So if the transmission fails and there are some files not available I would like the page to have some kind of alternative link to get those files from a server via GPRS.

    Thanks.

Posting Permissions

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