摘要:
系统已经统一了utf-8。前面的功能都支持中文。新写的表单不能支持。后来将form的提交方式改为post就解决了 <form method="post" action="wordAdd.action"> <input type="textfield" name="word.content" /> <input type="submit" value="添加" class="add-user" /> </form&g 阅读全文
摘要:
获取陕西省地图坐标,转换成对应GeoJSON文件shanxi.json{"type":"FeatureCollection","features":[{"type":"Feature","id":"ankangshi","properties":{"name":"ankangshi"},"geometry":{"type":"Polygon&quo 阅读全文
摘要:
The two most used HTTP methods are: GET and POST.What is HTTP?The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers.HTTP works as a request-response protocol between a client and server.A web browser may be the client, and an application on a compute 阅读全文
摘要:
设置高度宽度: $("#divID").width(400).height(500); 阅读全文
摘要:
原始html文件如下<!DOCTYPE html><html lang="zh-CN"> <head> <meta charset="utf-8"> <title>hello world</title> <script src="../js/jquery.min.js"></script> <script> $(document).ready( function() { $("#append").click( 阅读全文
摘要:
每次都将项目打包放到webapp下麻烦在$TOMCAT_HOME\conf\Catalina\localhost 目录下添加xml配置信息即可让tomcat自动找到项目存放位置。如在E:\projects\web\practice 下有一个MyEclipse下创建的名为baseStationInfo的web项目。配置步骤:在$TOMCAT_HOME\conf\Catalina\localhost\ 下添加xml文件如: baseStationInfo.xml在xml文件中添加项目路径信息。1 <?xml version="1.0" encoding="utf 阅读全文
摘要:
digest 阅读全文