struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Demetz <>
Subject ParameterNameAware issue
Date Sat, 12 Jul 2014 12:01:27 GMT

I am trying to upgrade my application from to
Some of my actions implement the ParameterNameAware interface to check 
if a parameter will be accepted.
I have parameters of the form like "user.username" (e.g. loginform) 
which will be passed to the acceptableParameterName(String) function of 
the LoginAction class.
The LoginAction has a User Object with a setUsername method. I didn't 
want to use the model-driven approach.

When upgrading to struts the acceptableParameterName function 
is getting called multiple times with different combinations: 
"user.username", "user" and "username".
Is it wrong to use dots in parameter names?
Any suggestions?

Best regards,
Markus Demetz

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message