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

Why can't we make jsp as a controller and action
servlet in struts?

Answer Posted / srinu

Jsp means "LESS JAVA CODE" and also tag based program.Their
is no tag intigriate with other logic.so jsp is not
suitable for controller.when we take ActionServlet or
Servlet as contoller for suitable.This class contain pure
java code and also intigrate with other logic and follows
oops priniciple,MVC principle.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about features of local inner class?

1085


What is java util?

973


What is java beans?

938


Can we declare the static variables and methods in an abstract class?

938


What does || mean in code?

991


What is the purpose of static keyword in java?

906


What does opcode mean?

1000


What are checked exceptions?

966


I don’t want my class to be inherited by any other class. What should I do?

965


What is boolean data type in java?

933


What is the protected method modifier?

988


How do you check if an arraylist is not empty?

1055


State two differences between C and Java.

1267


what is the difference between preemptive scheduling and time slicing? : Java thread

974


What are the parts of a method?

931