原创 訪問Nginx上的資源時出現403的原因及解決辦法

你在Linux上安裝Nginx一切順利,訪問localhost時也顯示了index.html的頁面可是你在html文件夾下建立p_w_picpaths文件夾後,向裏面仍一張圖片後nginx |-conf |-hmtl   |-index.h

原创 Tomcat8.0 支持的WebSocket 總結

Java WebSocket依賴環境tomcat8.0及以上兩種配置方式1.註解式配置//示例代碼@ServerEndpoint("/chat")public class Chat{//建立連接時調用,可傳入的參數Session(WebSo