|
From: Serge B. <ser...@gm...> - 2006-03-29 14:34:43
|
Thanks,
I will try 1.0 RC1.
I have created the issue.
2006/3/29, Keith Donald <ke...@in...>:
>
> Serge,
>
> The first issue (array request params) has been fixed for 1.0 RC1 nightly=
.
>
> The second issue (samples) is still outstanding. Can you create a JIRA?
>
> Thanks,
>
> Keith
>
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...] On Behalf
> Of
> Serge Bogatyrjov
> Sent: Wednesday, March 29, 2006 7:17 AM
> To: spr...@li...
> Subject: [Springframework-developer] webflow, jetty request parameters
>
> Hi,
>
>
> I am using jetty6. Jetty particular request parameters processing make it
> impossible to use webflow with jetty. I do not sure this container to do
> things in right way. But I have found we can make the webflow to run with
> jetty.
>
> The weak spot in webflow is
> 'HttpServletRequestParameterMap.getAttribute(String
> key)' method. It makes the following call:
>
>
> request.getParameterValues(key);
>
>
> Jetty returns String[0] for a unknown parameter. But this case is not
> provided.
> This is original code:
>
>
> if (parameters =3D=3D null) {
>
> return null;
>
> } else if (parameters.length =3D=3D 1) {
>
> return parameters[0];
>
> } else {
>
> return parameters;
>
> }
>
>
> Here is my variant:
>
>
>
> if (parameters =3D=3D null) {
>
> return null;
>
> } else if (parameters.length =3D=3D 0) {
>
> return null;
>
> } else if (parameters.length =3D=3D 1) {
>
> return parameters[0];
>
> } else {
>
> return parameters;
>
> }
>
>
>
> I have found another small problem with webflow samples. All samples
> contains invalid value for a 'webAppRootKey' context parameter in web.xml=
.
> For example, in the sample phonebook the parameter value is
> "phonebook.root", but the valid value is "swf-phonebook.root", because
> assebly artifact is "swf-phonebook.war".
>
>
> Serge Bogatyrjov.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
|