File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836

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.
Consider Paul's rocket mass heater.
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