HTTP Status 500 - Handler processing failed; nested
共3個回答<dependency>? ? <groupId>javax.servlet</groupId>? ? <artifactId>jstl</artifactId>? ? <version>1.2</version></dependency>在pom文件中添加如上依賴
HTTP Status 500 - img\1.jpg (系統找不到指定的路徑。)
共1個回答貌似fileinputstream 讀文件相對路徑 在web中是從webroot開始的吧 你用System.out.println(new File(".").getAbsolutePath()); 看下當前路徑是什么 然后改改路徑試試

http.creatServer is not a function,請問是哪里錯了
共4個回答你寫的http.creatServer(function (req, res) {正確的http.createServer(function(req,res){方法名寫錯了,解決問題記得采納





