You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by "Craig R. McClanahan" <cr...@apache.org> on 2001/12/18 18:40:48 UTC

DO NOT REPLY [Bug 5486] New: - Standard EA3 Taglib import does not work with if-modified-since http header field (fwd)

To TAGLIBS-DEV,

This bug was posted against Tomcat 4.  However, it might well be an issue
with the EA3 release of the JSP Standard Tag Library (JSTL), so wanted you
guys to be aware of it as well.

Craig McClanahan


---------- Forwarded message ----------
Date: 18 Dec 2001 16:54:50 -0000
From: bugzilla@apache.org
Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
To: tomcat-dev@jakarta.apache.org
Subject: DO NOT REPLY [Bug 5486] New:  -     Standard EA3 Taglib import
    does not work with if-modified-since http header field

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=5486>.
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=5486

Standard EA3 Taglib import does not work with if-modified-since http header field

           Summary: Standard EA3 Taglib import does not work with if-
                    modified-since http header field
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sam.cooper@scisys.co.uk


I'm not sure what is causing this problem, whether it is the Standard taglib implementation or a
bug in Tomcat 4.0.1 but the taglib people pointed the finger this way ;-)

Basically, I am
trying to use the new Standard taglib to perform XSL
transformations. What my pages do is use
the core:import tag to load an XSL from a local resource file and pass it to a
xml:transform.

This works fine under IE 5.5 and Netscape but under Opera
5 and 6 I get very
strange behaviour.

The first time I visit the page it works fine, but if I visit the page from
another page the import does not happen. The attribute in the page context has
been created but
it is empty.

I have created a small web archive to demostrate this and have attached it. You
will need to put the EA3 jars in the WEB-INF lib directory before it works.

To get this strange
behaviour you have to vist the two pages using the links provided. After a couple of visits the
imported text on the first page does not get displayed unless you do a refresh on that page.

I
have also included a request/response dump from catalina which shows this
procedure first
done with IE and then using Opera. The only major difference that I can see is the if-modified-since
field.

After further testing it seems it is definiately to do with the if-modified-since
field, something that Opera always provides once it has seen a page but IE does not seem to.

I
have created a little Java program to do this, you will have to edit it to provide the correct
URL!

Thanks.
Sam.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: DO NOT REPLY [Bug 5486] New: - Standard EA3 Taglib import does not work with if-modified-since http header field (fwd)

Posted by Shawn Bayern <ba...@essentially.net>.
Thanks Craig - I actually bounced the user who reported it over to Tomcat;
the bug was initially filed against the Standard Taglib (EA3), but as far
as I can tell, it's a container-related issue (though not necessarily a
bug).

Shawn

On Tue, 18 Dec 2001, Craig R. McClanahan wrote:

> To TAGLIBS-DEV,
> 
> This bug was posted against Tomcat 4.  However, it might well be an issue
> with the EA3 release of the JSP Standard Tag Library (JSTL), so wanted you
> guys to be aware of it as well.
> 
> Craig McClanahan
> 
> 
> ---------- Forwarded message ----------
> Date: 18 Dec 2001 16:54:50 -0000
> From: bugzilla@apache.org
> Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> To: tomcat-dev@jakarta.apache.org
> Subject: DO NOT REPLY [Bug 5486] New:  -     Standard EA3 Taglib import
>     does not work with if-modified-since http header field
> 
> 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=5486>.
> 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=5486
> 
> Standard EA3 Taglib import does not work with if-modified-since http header field
> 
>            Summary: Standard EA3 Taglib import does not work with if-
>                     modified-since http header field
>            Product: Tomcat 4
>            Version: 4.0.1 Final
>           Platform: Sun
>         OS/Version: Solaris
>             Status: NEW
>           Severity: Normal
>           Priority: Other
>          Component: Catalina
>         AssignedTo: tomcat-dev@jakarta.apache.org
>         ReportedBy: sam.cooper@scisys.co.uk
> 
> 
> I'm not sure what is causing this problem, whether it is the Standard taglib implementation or a
> bug in Tomcat 4.0.1 but the taglib people pointed the finger this way ;-)
> 
> Basically, I am
> trying to use the new Standard taglib to perform XSL
> transformations. What my pages do is use
> the core:import tag to load an XSL from a local resource file and pass it to a
> xml:transform.
> 
> This works fine under IE 5.5 and Netscape but under Opera
> 5 and 6 I get very
> strange behaviour.
> 
> The first time I visit the page it works fine, but if I visit the page from
> another page the import does not happen. The attribute in the page context has
> been created but
> it is empty.
> 
> I have created a small web archive to demostrate this and have attached it. You
> will need to put the EA3 jars in the WEB-INF lib directory before it works.
> 
> To get this strange
> behaviour you have to vist the two pages using the links provided. After a couple of visits the
> imported text on the first page does not get displayed unless you do a refresh on that page.
> 
> I
> have also included a request/response dump from catalina which shows this
> procedure first
> done with IE and then using Opera. The only major difference that I can see is the if-modified-since
> field.
> 
> After further testing it seems it is definiately to do with the if-modified-since
> field, something that Opera always provides once it has seen a page but IE does not seem to.
> 
> I
> have created a little Java program to do this, you will have to edit it to provide the correct
> URL!
> 
> Thanks.
> Sam.
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>