ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Struts
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Main  reasons for using  servlet as a controller in struts.
why not jsp
 Question Submitted By :: Rajendra007
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Main reasons for using servlet as a controller in struts. why not jsp
Answer
# 1
jsp means very less code in java.and also their is no tags 
for intigrate with other logic.i.e means controll with 
other logic just like as connection polling,data accessing 
object,persistance logic.suppose u take as jsp as 
controller programmer feels lot of complexity.Hence 
industry recomended struts as controller.in servlet easy 
intigrate with other logic.
Industry recomended as MVC rule servlets as controller,jsp 
as view layer.
 
Is This Answer Correct ?    0 Yes 0 No
Srinu
 
  Re: Main reasons for using servlet as a controller in struts. why not jsp
Answer
# 2
Controlling is a server side task and it makes no sense to
write you java code inside a jsp.
 
Is This Answer Correct ?    0 Yes 0 No
Naman Patidar
 
 
 

 
 
 
Other Struts Interview Questions
 
  Question Asked @ Answers
 
what is the disadvantage of struts frame work?  9
How Struts will follow the MVC? HCL4
what is project architecture?give brief explanation about project architecture? CTS2
what is a RequestProcessor? TCS5
What is Struts Flow? CTS5
what is the advantages and diadvantages of Struts?  1
What is the main difference between Mvc1 and Mvc2 Architecture?? Ness-Technologies5
collection framework hirarchy?  2
if u r using eclipse tool how can u debbaging u r application? plz explain with sample code Tech-Mahindra3
what are tiles in struts? Wipro2
is it possible to see actionservlet in my system. if yes how  5
If we close the browser,when the specific user session is active.Again if we open browse how to retrive it same user??what code i have to da??? TCS3
project architechture in java IBM2
Is it possible to create mulitple instance of one Action Class in struts? Satyam9
How to pass runtime Parameter in Struts1.2?  2
What is MVC? Infosys5
what are the disadvantages of MVC architecture INDUS3
What is Hibernate?  3
Where can i get jar file for use the struts-tags in struts2?  1
Is struts thread safe? HCL3
 
For more Struts Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com