On 6/5/2018 1:26 PM, Greg Huber wrote: > I have a form with the below with a button: action:myEdit!save which works > great. > > <form name="myEdit" id="myEdit" action="/edit/myEdit.action" method="post"> > .. > <input name="action:myEdit!save" value="Save" id="myEdit_myEdit!save" > type="submit"> > </form> > > > But if I modify the url on the page as below > > http://www/../edit/myEdit!save.action > > and then manually refresh the page, it follows the DMI logic, ie try to > call the save method but does not set the parameters in the request, and > fails on the validator. This returns to the input page with all the fields > blank, showing the validator errors. > > ....from the ParametersInterceptor doIntercept() the parameters are null: > .. > HttpParameters parameters = retrieveParameters(ac); > .. > > Where would be the best place in the source stack to try and see why its > not populating the parameters?
I think it's a correct behavior. Parameters should being posted to action either via query string or posting an HTML form (i.e. HTTP post method). Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org