当前位置: 代码迷 >> JavaScript >> JSP+WAP1.x轨范
  详细解决方案

JSP+WAP1.x轨范

热度:220   发布时间:2012-09-23 10:28:11.0
JSP+WAP1.x规范

<?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">?

?

<%@ page contentType="text/vnd.wap.wml; charset=UTF-8" pageEncoding="UTF-8" ?%>

?

?

<%

request.getSession().setAttribute("userID",request.getParameter("userID"));

%>

?

<wml>

?? ?<head>

?? ? ? <!-- <meta http-equiv="Cache-Control" content="max-age=1000"/> ?-->

?? ? ? <meta ? http-equiv="Expires" ? content="0"/> ??

?? ? <meta ? http-equiv="Cache-Control" ? content="no-cache"/> ??

?? ? ? <meta ? http-equiv="Pragma" ? content="no-cache"/> ?

?? ?</head>

?

<card id="indexWap" title="XXXX">

<p>

XXXXXXXXXXXXXXXXXXX

</p>

<p>

XXXXXXXXXXXXXXXXXXXXXXXXXXX

</p>

<p>

XXXXXXXXXXXXXXXXXXXXXX

</p>

<p>${message }</p>

<p>

<a href="mountainController.html">进入游戏</a> ? ? ??

<a href="tempRegister.jsp">退出</a>

</p>

</card>

</wml>