Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can we have different controllers in one struts app?

Answers were Sorted based on User's Feedback



Can we have different controllers in one struts app?..

Answer / rajesh r

NO!
Struts Framework is based on Front Controller design
patter ehich means there should be only ONE Controller
(ACTION SERVLET) to controller the request and dispatching
the views or resopnses.

Is This Answer Correct ?    31 Yes 1 No

Can we have different controllers in one struts app?..

Answer / kalyan

No,there is only one Controller(Action Servlet) in struts
application.Controller is receive the request from client
(browser) and manage the work flow of entire application
and finally view the response to client.

Is This Answer Correct ?    6 Yes 1 No

Can we have different controllers in one struts app?..

Answer / brijendra kumar , xavient soft

No, struts having only one controller which handle action
servlet means receive Http request or user input and
provide http responseor user out put.

Is This Answer Correct ?    4 Yes 0 No

Can we have different controllers in one struts app?..

Answer / swami

yes we can able to define multiple controllers in web.xml but all of doing same work so some times we got inconsistency data problem in struts so we are using only one centralized controller in struts

Is This Answer Correct ?    2 Yes 0 No

Can we have different controllers in one struts app?..

Answer / qim2010

We can’t have different controllers in one struts
application as Struts Framework is based on Front Controller
design pattern. The Front Controller suggests that we only
have one Servlet (instead of having specific Servlet for
each specific request) centralizing the handling of all the
requests and delegating the functions like validation,
invoking business services etc to a command or a helper
component.

Is This Answer Correct ?    1 Yes 0 No

Can we have different controllers in one struts app?..

Answer / suresh. s.a.

No, Only one controller in a struts application, v can have
many action class in one controller.

Is This Answer Correct ?    0 Yes 0 No

Can we have different controllers in one struts app?..

Answer / sasi

yes we can have multiple controllers for a single struts application but the maintaining data Form Bean is problem

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Struts Interview Questions

which MVC architecture struts follows and why?

6 Answers   IBM,


What types of validations are available in xml based validation in struts2?

0 Answers  


If the framework doesn’t do what I want, can I request that a feature be added?

0 Answers  


What are different Struts2 tags? How can we use them?

0 Answers  


What are the steps used to setup dispatch action?

0 Answers  


what are java stuts? what are there uses

2 Answers   Rupa, Tech Mahindra,


What’s the utilization of struts.xml configuration file?

0 Answers  


can anyone help me to send the code for Jasper Reporting in java?plz

3 Answers   CSC, RFT,


Explain the core end goal while using java struts?

0 Answers  


What are the action classes in struts?

0 Answers  


Why is action servlet a singleton in struts?

0 Answers  


What is the purpose of @results?

0 Answers  


Categories