Import Attribute - Which one has high performance
We have standard action tag. You know all purpose of this tag. it is used to locate an existing java bean object or to create a new object of javabean. and we have "page" directive, in which we have a "import" attribute through this we can import the needed classes. so by using this also we get object of an existing class or we can create new object for class.
The question is, we are achieving the same objective by using and "import" attribute in "Page Directive". which one is efficient in the above said two cases. which one has high performance?
Re: Import Attribute - Which one has high performance
[QUOTE=santh kumar;8258]We have standard action tag. You know all purpose of this tag. it is used to locate an existing java bean object or to create a new object of javabean. and we have "page" directive, in which we have a "import" attribute through this we can import the needed classes. so by using this also we get object of an existing class or we can create new object for class.
The question is, we are achieving the same objective by using and "import" attribute in "Page Directive". which one is efficient in the above said two cases. which one has high performance?[/QUOTE]
hi
action tags are dynamic.That is when u use them only the output of that file is replaced
but when you use directive tags, then they will include all the source code,
which is clearly not efficient.
I hope iam clear
thanks:D