Discussion Board
Using JSP to generate WML text field
2003-09-05, 19:25
#1
Registered User
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?
Nokia Developer Expert
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
Forum Rules