HttpServletRequest request;
HttpServletResponse response;
public void doGet(HttpServletRequest request , HttpServlet response){
this.request = request;
this.response = response;
}
如果此servlet一次接收多個請求,會發生什麼情況?爲什麼apache servlet是單身人士?
我們遇到了響應不匹配問題。這是一個問題嗎?
不要這樣做。真。別。 – skaffman
這使得世界陷入黑洞 –
瞭解servlet如何工作:http://stackoverflow.com/questions/3106452/how-do-servlets-work-instantiation-session-variables-and-multithreading/3106909#3106909 – BalusC