lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Struts2 implementation
Date Tue, 06 Oct 2009 18:34:57 GMT
> I'm porting one of my Struts1 Lucene search apps to Struts2.   The basics are 

> working but I need to remove the Lucene search service out of the action 
> classes.   I'm ready to write an interceptor but can perhaps also see using a 
> plug-in like is done with Tiles.   As I'm a Struts2 newbie, any tips/advice from 
> anyone's experiences would be appreciated.  Thanks

I'm not sure why an interceptor would be a good choice (or a plugin, for that matter). If
the search code is well-isolated just make it a service. Then inject it into the action via
any mechanism.


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

View raw message