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

What are the supporting protocol by HttpServlet ?

1190


What is a deployment descriptor?

1100


How we can create war file in servlet?

1128


Explain jsessionid?

1031


Should I override the service() method?

1088


How to commuincate between an applet and a servlet?

1050


What is the difference between servlet and filter?

949


What is pure servlet?

1204


What is Servlet API used for connecting database?

1097


What do you mean by a filter and how does it work?

949


What are the key methods that are involved in processing of http servlets?

1105


What is the use of servletconfig interface?

1040


How to notify an object in session when session is invalidated or timed-out?

1082


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1041


What is cookie? Why is cookie used?

1055