https://issues.apache.org/bugzilla/show_bug.cgi?id=47500
Summary: request.getParameter lead to servlet can't receive READ event in CometProcessor class Product: Tomcat 6 Version: 6.0.18 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Servlet & JSP API AssignedTo: dev@tomcat.apache.org ReportedBy: lxw7...@gmail.com Created an attachment (id=23947) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23947) It include jsp and servlet file Hello, I wrote an example to practice Comet service in Tomcat 6, I found if I put HttpServletRequest.getParameter during BEGIN event, then I never receive READ event. If I remove it, then it can work. If I use getSession(), it can get READ event also My web.xml configuration <description> ww web chat. </description> <display-name>WW web chat</display-name> <!-- Thomas Luo added --> <servlet> <servlet-name>wweb_chat</servlet-name> <servlet-class>wwebchat.wweb_chat</servlet-class> </servlet> <servlet-mapping> <servlet-name>wweb_chat</servlet-name> <url-pattern>/wwebchat/wweb_chat</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>wweb_chat</servlet-name> <url-pattern>/a</url-pattern> </servlet-mapping> -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org