PDA

View Full Version : Controller called by multiple pages


VRodas
Nov 7th, 2006, 10:42 AM
Hi,

I want to implement a SearchController that i'm going to call on severeall (if not all) other pages i'm working on.
What is the better way to do this?

Using :
WebRequestHandlerInterceptorAdapter ?
HandlerInterceptorAdapter ?
ServletForwardingController ?
MultiActionController ?
How?

Basically, i need to include a search page (along with it's controller and form logic) in my other pages.
Can i include my CustomerSearch.jsp on the other jsp pages?

Thks

Likeacell
Nov 7th, 2006, 03:32 PM
It sounds like you'll want to use a MultiActionController, but it's hard to say for sure without seeing code. Basically, a MultiActionController is a good bet if there is alot of common (business logic) functionality between the search pages.