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

Directive Include and Action Include how both are working
in JSP, what is the difference between both?In which
suituation we have to choose these elements?

Answer Posted / samuel.t

We can say <%@ include ... %> is a static include.
The page which is included is changed then the including
page should also be changed.
For performance wise we can opt this,because the page is
inlcuded in the translation time.So only at the
first request it takes a momentary delay and comes to a
normal access from the second requests.


We can say <jsp:include ... > is a dynamic include.
The page which is included is changed, then it is not
required to change the main file.
Performance wise it is bit slow when compared to the
directive include because the page is included
only at the request time.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the architechure of a servlet?

1059


what is servlet chaining?

1041


Explain servlet.

995


What is the structure of the http response

1116


If servlet receives multiple requests, how many objects will it create?

1316


What are advantages of servlets over cgi?

1047


When servlet object is created?

1073


why we should override only no-agrs init() method.

1085


What is servlet invoker?

991


Describe servlet?

982


What's the difference between servlets and applets?

991


What do you mean by session tracking and also explain its techniques?

902


What are different Authentication options available in Servlets.

1009


Can filter be used as request or response?

917


What is the use of request dispatcher interface?

962