cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enke, Michael" <>
Subject extending the Request object!?
Date Mon, 30 Jun 2003 12:12:07 GMT
Hi group,
I often need to manipulate the queryString from the Request,
so that I can use the manipulated one in links.
Manipulate the String object is ugly and error prone.
What do you think about extending the Request object,
so that we can
1) delete Request Parameter
2) add Request Parameter
3) get Request Parameter by substring

I think about creating a Map from the ServletRequest,
the Map-key is the Parameter name and the values are stored
in a Vector:

name1 - Vector(param1a, param1b, ...)
name2 - Vector(param2a, param2b, ...)

All methods for the Request object than have to be rewritten to use this Map.

Is this a practicable way or do we have such functionallity somewhere?

BTW, what is a MultiPartRequest?


View raw message