This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Front control designPattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Front control designPattern" Watch "Front control designPattern" New topic

Front control designPattern

prasad chowdary

Joined: Feb 18, 2012
Posts: 18
hi experts,

i have a doubt in Struts2 They are saying Filter is a FrontControl Design pattern, i think Filter is also a servlet.
Struts1 ActionServlet is a FrontControl design pattern.

Thanks inAdvance,
Joe Ess

Joined: Oct 29, 2001
Posts: 8843

Who is "they"? I think you are confusing a pattern (Front Controller) with its implementation ( a filter or a servlet).

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
prasad chowdary

Joined: Feb 18, 2012
Posts: 18
Thanks for reply,

In framework they mentioned, tell me both are acting as FrontControl.
I agree. Here's the link:
subject: Front control designPattern
Similar Threads
Difference between Intercepting FIlter and a normal Filter?
i dont agree with tgis on Design patterns
Problem with session timeout
Call a servlet on the url pattern /_/
Suggestion On Design Pattern & Technology To Be Used