Advertisement

Live example in eclipse || Difference include directive vs include tag by Swapnil Thaware

Live example in eclipse || Difference include directive vs include tag by Swapnil Thaware Difference between include directive and include tag in JSP
Description of this video:
1) Include directive includes the file at translation time (the phase of JSP life cycle where the JSP gets converted into the equivalent servlet) whereas the include action includes the file at runtime.

2) If the included file is changed but not the JSP which is including it then the changes will reflect only when we use include action tag. The changes will not reflect if you are using include directive as the JSP is not changed so it will not be translated (during this phase only the file gets included when using directive) for request processing and hence the changes will not reflect.

3) When using include action tag we can also pass the parameters to the included page by using param action tag but in case of include directive it’s not possible.

These are the major differences between include directive and include action. If you have any questions regarding the topic, feel free to ask by dropping a comment below. Happy learning!!


⋆ ✢ ✥ ✦ ✧ ❂ ❉ ✱ ✲ ✴ ✵ ✶ ✷ ✸ ❇ ✹ ✺ ✻ ✼ ❈ ✮ ✡

Do reach out to me on:

FACEBOOK:


INSTAGRAM:


GMAIL:
swapnilgthaware@gmail.com

SKYPE:
swapnilgthaware

LinkedIN:


YOUTUBE :

____________________________________________________________

Swapnil Thaware,eclipse,jsp,Difference include directive vs include tag,Live example Eclipse ||,software,engineer,code,servlets,Include,directive,tag,live,practicle,demo,

Yorum Gönder

0 Yorumlar