You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/04/24 17:29:03 UTC

DO NOT REPLY [Bug 19277] New: - org.apache.cocoon.environment.http.HttpRequest does not implement HttpServletRequest

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

org.apache.cocoon.environment.http.HttpRequest does not implement HttpServletRequest

           Summary: org.apache.cocoon.environment.http.HttpRequest does not
                    implement HttpServletRequest
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: cocoon@asgalon.net


org.apache.cocoon.environment.http.HttpRequest does not, as stated in the 
commentary, implement HttpServletRequest.
So - if I did not miss anything - there is no possibility to get at the servlet 
API object.

My problem is that I have to query an external national language support bean 
for an output language in a larger application framework. This takes place in an 
input module i am writing. I get the cocoon Request object, but have to serve 
the bean the javax.servlet.HttpServletRequest.

My current solution is to add a getHttpServletRequest method to the HttpRequest 
class or making the servlet request object public in a local copy of the 
sources. I would really like to get rid of this mess...