Le 25 avr. 05, � 18:11, Volker Bublitz a �crit :
...public class RequestParameterSQLTransformer extends SQLTransformer {
public void setup(SourceResolver resolver, Map objectModel, String source,
... boolean useParameters = parameters.getParameterAsBoolean("use-request-parameters", false);..
Another way would have been to use the RequestGenerator, and use the request parameters when building the SQL.
Or use-request-parameters on an XSLT transform upstream from the SQLTransformer.
But your solution certainly works, you just have to be careful about potential SQL injection risks depending on how you use the request parameters.
-Bertrand
smime.p7s
Description: S/MIME cryptographic signature
