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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 9169

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

[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
It's not a secret anymore!