Daniel Rall wrote:
>
> Uhh...what's wrong with a getHttpRequest() method?
> There is no point to this class...
Well, there is, actually. Other than the joy, excitement and personal
satisfaction of writing such an exciting thing, since
HttepServletRequest is an interface on what can be default or private
object, introspection fails when you try to do something like
$req.getContextPath()
in a template.
So, to make life easy for people, I wrapped the real HttpServletRequest
in this before putting into the context, and then there are no
introspection problems for someone expecting it to 'just work', as it
should.
Happy to hear of alternative solutions, but this seemed to be the path
of least resistance.
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/