tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47500] New: request.getParameter lead to servlet can't receive READ event in CometProcessor class
Date Thu, 09 Jul 2009 09:07:29 GMT
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: lxw7777@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message