struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Say Jon <wsay...@gmail.com>
Subject ParameterInterceptor problem
Date Wed, 15 Jul 2009 13:43:04 GMT
Hi all,
I have been using Struts 2 for a while now and I am pulling my hair over the
following issue. At times, when my parameter name contains a period, the
Parameterinterceptor doesn't seem to be applied properly. For example I have
a parameter "userAddress.country.id" which points to
getModel().getUserAddress().getCountry().setId() right? This works most of
the time but occasionally, the value doesn't get set. I know this because my
validation keeps denying the user saying that "Country is required" when the
user have indeed chosen a country (problem because the parameter is not
applied properly). The problem goes away when I restart Tomcat.

Anyone facing the same problem? I'm using Struts 2.1.6 by the way.

Regards.
W.SayJon

Email Disclaimer:
The information contained in or attached to this email is confidential and
solely for the use of the individual or entity to whom it is addressed.
If you are not the intended recipient, please notify the sender immediately
and delete any copies of this email.
Any unauthorised disclosure, copying, distribution or any action taken in
reliance on the contents of this information is strictly prohibited and may
be unlawful.

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