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

Does java allow default arguments?

992


How do you do absolute value in java?

973


What is jagged array in java?

1079


What are 3 data types?

986


What is stringjoiner ?

953


What is the default execution method in java?

1194


What is jdbc api?

1002


Define inheritance with reference to java.

1085


What will be the output of round(3.7) and ceil(3.7)?

1117


How can an object be unreferenced?

1021


What is called module?

968


What is locale?

1021


How many bits is a boolean?

1076


Explain the concept of hashtables?

1127


Is null keyword in java?

936