[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    Re: Request
From:       "Nicola Ken Barozzi" <nicolaken () apache ! org>
Date:       2002-05-13 14:12:24
[Download RAW message or body]

From: "Artur Bialecki" <artur@digitalfairway.com>

> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> > > From: Artur Bialecki [mailto:artur@digitalfairway.com]
> > >
> > >
> > > It would be nice if there was an easy way to convert
> > > HttpServletRequest to HttpRequest, HttpServletResponse to
> > > HttpResponse, etc.
> > >
> > > Right now I can't see any easy way of doing this.
> > > Maybe new constructors or static conversion methods
> > > that do this would be very useful.
> > >
> > > What do you think ?
> >
> > Why this would be needed?
> >
>
> If you start a new cocoon project and you're _not_ using
> other libraries that already _extend/return_ HttpServletRequest
> and others than you probably don't need it.
>
> But, if you have some request/response/cookie processing
> libraries which were used in Cocoon1 or your JSP site
> and you're moving to Cocoon2 and want to use these
> from XSP, etc. you either have to rewire (If you can)
> your libraries to use cocoon's Request, Response, etc.
> or preform the conversion in some easy way. Since the
> first option may not allways be feasable.
>
> IMHO adding such conversion functionality would only improve
> cocoon.

I second this need.

80% of "how can I..." questions I has was "How can I use HttpXXX interface
instead of Cocoon ones?".

There are tons of libraries written to those interfaces.

Anyone volunteering?

Come on, it shouldn't be too hard ;-)

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic