<?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/vnd.wap.wml"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %>
<wml> <head> <meta http-equiv="Content-Type" content="text/vnd.wap.wml; charset=utf-8" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="cache-control" content="no-cache" /> </head> <card id="card1" title="卡片1"> <% out.println("Hello WAP!"); %> </card> </wml>