×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    California
    Posts
    5

    Using JSP to generate WML text field

    Hello to all the expert out there, I'm have problem displaying wml text field. I"m using Nokia Internet Toolkits with Nokia Mobile Browser 4.0. Here's my code:

    <%@ page language="java" contentType="text/vnd.wap.wml" %>
    <%! String strXMLPrologue = "<?xml version=\"1.0\"?>"; %>
    <%= strXMLPrologue %>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

    <wml>
    <card id="card1" title="TextField">
    <p>
    Field1: <input format="N*M" name="field1" title="Amount:"/><br/>
    Field2: <input format="*N" name="field2" maxlength="10" value="" /></br/>
    </p>
    </card>
    </wml>

    Can anybody help me?

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    334
    Hi!

    At least there is at the end of the line 'Field2' double '/' sign in 'br' element. Should be as in previous line: <br/>.


    Kind regards,

    sami / Forum Nokia Developer Support

Posting Permissions

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