struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <>
Subject Re: Invocation of type conversion manually
Date Fri, 10 Dec 2010 09:00:18 GMT
2010/12/10 Jose Luis Martinez Avial <>:

> validation should be dinamic, so the rules should be able to receive
> information from the request.
Basing Rule Access Control on request's parameters might induce
security flow risks.

> What I would like to do is to use Struts'
> mechanism to process, parse and type-convert  the request's parameters
> to do that. So I would invocate the Struts' conversion over the classes
> implementing the rules, and set the parameters in the rules, the same
> way Struts does with the actions. I've tried looking at the code, but
> I'm a bit lost. Can somebody give some orientation on how to invoke the
> conversion?
What about using an abstract BaseAction with your rule bean declared inside?

Maurizio Cucchiara

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

View raw message