struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanth Pasala <>
Subject Re: Request parameter value different from instance variable value
Date Tue, 08 May 2018 16:59:45 GMT
I think I might have found the reason. The page it is forwarded to have page=ChangePassword
as a query string. So I think struts is getting data from the query string and the post data
and combining
them to form the ChangePassword, ChangePassword as the value for the page variable.

I have fixed the logic in ChangePasswordFilter to not forward if the request is going to ChangePassword


On 05/08/2018 01:39 AM, Yasser Zamani wrote:
> On 5/7/2018 8:35 PM, Prasanth wrote:
>> When I get the value from request object (request.getParameter("page");) it returns
> What does 'String[] pages = request.getParameterValues("page");' return
> (it's length and values)?
> Regards.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message