> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 9:20 AM
> To: Struts Users Mailing List
> Subject: [EVIL] Modifying a request parameter
> 
> 
> String[] foo = request.getParameterValues("foo");
> foo[2] = "you"; //Naughty naughty. Very naughty. Wicked! Absolutely
> outrageous mate! ;->
> 
> In hindsight an odious but obvious and doubtlessly documented 
> hack, yet Ive
> spent four frustrating hours figuring out how my poor parameters were
> getting maliciously murdered! This is a tale of tracing a 
> thousand torturous
> lines of config driven code and deep deep down in the dismal 
> depths of their
> convoluted bowels there lurks a menacing method that consumes 
> string arrays
> and does unspeakable things to them without allocating a new array
> instance...

No offense but... better you then me :) *LOL*
I have someone at work who loves configuration files, because the increase 
flexibility......
which is cool, BUT silly putty is flexible too, but you wouldn't want to build a house 
with it.

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

Reply via email to