开发wap版的手机网站已经有2个多月了,在开发过程中也遇到了不少头疼的问题,我在其它博文中都有记录,当然看着自己写的网站一点点成型最终上线,这种感觉真的很不错。

wap网站开发模板:


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">

<title>wap网页</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="wap/css/cuxiao/cuxiaoindex.css">
<script type="text/javascript">

</script>

</head>

<body>
这里添加内容
</body>
</html>



注: 模板给定,其它的开发内容与正常的jsp无异。