DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8087>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8087

HttpSessionAttributeListener.attributeRemoved() not working with URLRewriting

           Summary: HttpSessionAttributeListener.attributeRemoved() not
                    working with URLRewriting
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have created a class that implements the HttpSessionAttributeListener 
interface which is new since the Servlet 2.3 specification. I have implemented 
the methods attributeAdded(..) and attributeRemoved(..).

The problem occurs, when session cookies are disabled and therefore URL 
rewriting is forced. The method attributeRemoved() gets NEVER called, when 
Tomcat is doing URL rewriting. It works perfect when cookies are allowed. The 
method attributeAdded() works perfect in BOTH situations (cookies or URL 
rewriting).

I have tested this on several machines using MS IE 5.5 SP2 and Netscape 6.2. I 
can reproduce it as many times as you want.

I have postet this on the tomcat-user list but have not got any reply. You can 
find the message here:
http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg50890.html

Additional info:

I use STRUTS and VELOCITY to implement my MVC. I use JBuilder 6 on Win2K as my 
development environment. My application is very large, uses CORBA and a SYBASE 
database server which also holds a lot of configuration information. Therefore 
I cannot send you the application but I could try to debug it, if you could 
give me a hint where to search. (I am not familiar with the source tree of 
TOMCAT)

Please let me know if I can be of any further assistance.

Thomas

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to