Listing B
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card title="Login Page" id="first"> <p>Login: <input name="login"/></p> <p>Password: <input name="password"/></p> <p> <anchor>Submit to Servlet <go href="http://localhost:8080/AbcServlet" method="get"> <postfield name="loginName" value="$(login)"/> <postfield name="loginPass" value="$(password)"/> <postfield name="msg" value="HELLO"/> </go> </anchor> </p> <p> <a href="#card2"> Next Card </a> </p> </card> <card id="card2" title=" Builder C2"> <p align="center"> Welcome <u>$(login)</u> </p> </card> </wml>