This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Front control designPattern" Watch "Front control designPattern" New topic
Author

Front control designPattern

prasad chowdary
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8713
    
    6

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Front control designPattern
 
Similar Threads
i dont agree with tgis on Design patterns
Call a servlet on the url pattern /_/
Difference between Intercepting FIlter and a normal Filter?
Suggestion On Design Pattern & Technology To Be Used
Problem with session timeout