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...


struts comes under which layer of three tire architecture
in real time projects plz i need explaination?

Answers were Sorted based on User's Feedback



struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / dsr

Struts is a MVC Architecture.This is three tier layer.

Layers:
-------
1.view: like as jsp page.

2.controler: controller the request and response objects.

3.model: database and service layer.

Is This Answer Correct ?    27 Yes 3 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / prasanth s

Struts comes under view or web layer. It helps the JSPs
and/or HTMLs to club with the Action/Forms to complete the
View layer in the MVC Architecture.

Is This Answer Correct ?    10 Yes 1 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / pradeep kumar yadav

Struts comes under web layer.

Is This Answer Correct ?    16 Yes 9 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / vijay

Before knowing this Answer..u should know the layers concept
There are three layers actually
1)presentation layer
2)service layer
3)Data access layer
1)presentation layer is used to design the front
end...nothing but web page what u see(using struts or jsf
or traditional servlets and jsp's)
2)service layer is actually used to write the business logic
of our application(using ejb's,spring)
3)Data access layer is used to interact with data base
(jdbc,hibernate,jpa)

so struts are used to design the front end only...based on
mvc-2 architecture

Is This Answer Correct ?    7 Yes 0 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / anjani kumar jha

Ans is --------Controller
Before go through the struts you should have the great
concept of MVC.(model-view-controller).

View----The jsp page code is always is called the
views.views is called what you can see that is for example
login.jsp which contains the login id and password and some
more field....so this page is called view.


Controller:---------Controller is very important part
because all of ur request and response is handle by controller.
Explanation:
after enterning the user-name and password and
other field in ur login page you click on the submit button
so click on submit button the work of the controller is
start and that is ActionServlet and the RequestProcessor in
the case of STRUTS.

ActionServlet collect ur request and forward to request
processor and the work of request processor is to validate
the request and forward to MODEL.

MODEL---Now the role of model is starts.
WORK of the model is to connect with the database
with ur query and see if ur query is present is in database
as example when u r opening the gmail.com and after that u
enter ur username and password and wen submit it tells
either u are already register or give some error that ur
username and password doesnt match.

So the same work is done by the model also.it checks the
database of validity of ur query and then through controller
it display the message(if user is not register).
For further assitance u may call me

Anjani Kumar Jha
09623154095
CDAC PUNE

Is This Answer Correct ?    7 Yes 1 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / xxx

re sekhar don't say which is correct..what is your answer
tell me otherwise just shutup...

Is This Answer Correct ?    3 Yes 1 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / srinath

struts comes under controller

Is This Answer Correct ?    1 Yes 0 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / sekhar babu

Yes,
Anjani kumar jha is correct
Structs comes under Controller Layer

Is This Answer Correct ?    2 Yes 2 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / siva

Struts Comes under controller layer.

Is This Answer Correct ?    0 Yes 0 No

struts comes under which layer of three tire architecture in real time projects plz i need explain..

Answer / mukesh

struts focus on service tier . it is view and model
independent . so it is service tier ...

Is This Answer Correct ?    9 Yes 14 No

Post New Answer

More Struts Interview Questions

What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

0 Answers  


Main reasons for using servlet as a controller in struts. why not jsp

5 Answers  


What is the purpose of @conversionerrorfieldvalidator annotation?

0 Answers  


what is the use of cvs in struts?

2 Answers  


Why do we use struts?

0 Answers  


What do you mean by ognl?

0 Answers  


Does struts include its own unit tests?

0 Answers  


What do you mean by inner class and anonymous class?

0 Answers  


Can you explain the directory structure for a struts folder in brief ?

0 Answers  


what is the difference between SAX Parser and DOM Parser??

14 Answers   Cap Gemini, Goldman Sachs, HCL, Hidden Brains, HP,


what is the purpose of load_on_startup entry in struts- config.xml?

8 Answers   Satyam,


What are apache struts?

0 Answers  


Categories