);
});
app.get(/^\/.+\.html$/,function (req,res) {
res.sendFile(__dirname+req.path);
// console.log...(__dirname);
});
app.get("/favicon.ico",function (req,res) {
res.sendFile(__dirname+req.path);
})...;
app.get("/ajaxGet",function (req,res) {
if(req.query.name=="nihao" && req.query.age=="20"){...(req,res) {
//express里,post请求来的数据不存放在req.query里,post的数据存储在req对象的body属性里,但是需要bodyparser模块的配合
/...express, 我们程序就是用express 写的,如果没有express, 我们的程序根本无法运行,更直白一点,dependencies 就是我们在程序开发的过程中手动require的模块