struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <>
Subject Re: Invocation of type conversion manually
Date Mon, 13 Dec 2010 01:01:46 GMT
I think you don't need this bothering job.

You can:

(1)Define some properties in your base class of all your action classes.
(2)Use these properties to capture data from the request.
(3)Run your interceptor AFTER the interceptors of struts2.
But BEFORE the execution of the Action class

The interceptors of struts2 will do the data-conversion for you.
Your interceptor can simply extract parameters all you need from the
Action instance.

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

View raw message