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

request.getRequestURI() returns garbage when included in some tags

           Summary: request.getRequestURI() returns garbage when included in
                    some tags
           Product: Tomcat 4
           Version: 4.1.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


if a tag that implements BodyTagSupport retuns EVAL_PAGE_INCLUDE from its
doStartTag() method, and then it contains a tag that performs a
pageContext.include() call that invokes a servlet, most of the calls to the
request object methods produce bogus results.  for eg. getRequestURI() will
return what looks like a fragment of the webpage being processed.  subsequent
calls to import (either via a custom tag doing pageRequest.include() or jstl
tags like c:import) will also fail.  if, however, EVAL_BODY_TAG (deprecated) or
EVAL_BODY_BUFFERED are returned from doStartTag(), everything works as expected.

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

Reply via email to