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

We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ?

Answer Posted / babu

ya u can write your java logic's Jsp or u can use Jsp action
tags to implement the business logic. But if u do like this
your source code may be viewed and used by the others, for
restricting or preventing your source code we are using mvc
architecture like in struts so that's why we don't want to
write java code in Jsp.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't you declare a class as protected?

1203


Is void a type?

1021


How does varargs work in java?

1139


How are destructors defined in java?

1086


What is mysql driver class name?

1201


What does this () mean in constructor chaining concept?

1199


Which category the java thread do fall in?

1044


What language is pass by reference?

1066


Explain about object oriented programming and its features?

1066


How can you traverse a linked list in java?

1186


What is string [] java?

1004


What is lazy programming?

1089


What is object-oriented programming?

1199


How many digits is int32?

1042


Why webdriver is an interface?

1087