Sitemap

Amicuk Programming Answers

Which is more useful in include directive and taglibraries

-0001-11-30   Views:0

Advertisement

          I am writing some static html tags inside a file.           This files i need to call from jsp pages.           one is i can call using include directive.           other is writing taglibraries.           Performance and optimization wise

          I am writing some static html tags inside a file.
          This files i need to call from jsp pages.
          one is i can call using include directive.
          other is writing taglibraries.
          Performance and optimization wise which is more appropriate?
          

The replay answer
Advertisement
There is an include directive and a jsp:include tag. I would suggest that
          performance differences between these are nominal, with the directive being
          slightly faster due to its "inlining nature".
          Don't write your own tags to do this unless you have to. That would be
          silly.
          Peace,
          Cameron Purdy
          Tangosol, Inc.
          http://www.tangosol.com
          +1.617.623.5782
          WebLogic Consulting Available
          "Raaj" <[email protected]> wrote in message
          news:3af02b63$[email protected]..
          >
          > I am writing some static html tags inside a file.
          > This files i need to call from jsp pages.
          > one is i can call using include directive.
          > other is writing taglibraries.
          > Performance and optimization wise which is more appropriate?
          >
          

Go to See the other 2 answers

Which is more useful in include directive and taglibraries

Category:DefaultRelease time:-0001-11-30Views:130

          I am writing some static html tags inside a file.           This files i need to call from jsp pages.           one is i can call using include directive.           other is writing taglibraries.           Performance and optimization wise[More]

A variable in the include directive

Category:DefaultRelease time:2015-10-11Views:130

Hello, I'm trying to store a part of the name of the file to include in a variable like this: <%@ include file=templatepath + "settings.jsp" %> but it doesn't work. Can someone tell me if there is a working way to do something similar Than[More]

JSP include directive not working with Tomcat 5.0

Category:DefaultRelease time:2015-10-11Views:130

Hi. I'm developing a small JSF webapp under Tomcat 5.0. My idea was to use the include directive to display a navigation panel on every JSP page. I took the code straight from the Java Web Services Tutorial; the resulting page looks like this: <jsp:r[More]

Problems with symlinks and include directives

Category:DefaultRelease time:2015-10-11Views:130

Any files that are included with an include directive from a file that is           contained in a directory that is reached via a soft link do not work           (resource not found error) if the link begins with "../".           directory stru[More]

JSP:Include directive - can I access data?

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am using the 'include' directive (either jsp:include method or <%@ include.... /> ) to include another jsp page. I want the included file to access variables that have been set up in the main page (the one with the include directive in it). I'[More]

Include directive in iplanet 6.0SP1

Category:DefaultRelease time:2015-10-11Views:130

If I have a include directive <%@ page contentType="text/xml; charset=UTF-8" %> in jsp then it loads up fine in iplanet 6.0SP1 and shows Japanese characters. However when I have the same directive in some declare.jsp and include declare.js[More]

Dynamic file parameter with include directive

Category:DefaultRelease time:2015-10-11Views:130

I would like to include the file path contained in a string variable with the include directive. I'm trying to do the following: <% String var_fileToInclude = "inc/topnav_" + var_sectionType + ".jsp"; include file=var_fileToInclude;[More]

Compiler Include Directive

Category:DefaultRelease time:2015-10-11Views:130

Is there an equivalent to the include directive? I don't mean the import statement, I mean the include directive such as available in many other languages that will place the contents of a file inline with the java source. Basically, just like the JS[More]

Does c_rt:import act like include directive or tag

Category:DefaultRelease time:2015-10-11Views:130

The include directive <%@ include ... will not recompile when the included file changes. The tag <jsp:inlcude will always re-fetch the included file so new content is picked up immediately. How do c:import and c_rt:import behave? Can someone point m[More]

Include directive with import tags how to

Category:DefaultRelease time:2015-10-11Views:130

I mostly the same classes throughout many of my jsp pages. If I use the include directive to import the classes - it doesn't work. What is the proper directive / way / tag to include those tags? Sorry if I am not wording this properly. Here's an exam[More]

The Include Directive (at Page Translation Time)

Category:DefaultRelease time:-0001-11-30Views:130

Version: 5.1           Service Pack: 6           I am generating the following error when I attempt to manually compile a JSP           file:           [jspc] parsing /vobs/projects/public_html//test.jsp:           WARNING: Failed to include file 'te[More]

Hot
Hi Expert, Need your advice.  The user requesting to create customer/vendor master data for a new inter company for their AR/AP posting. However this inter company do not have full setup of SAP configuration (eg. GL/Cost center/Profit center). So, co [More]
How can I get rid of the spinning rainbow?7/30/12 5:07:58 PM    [0x0-0x544544].org.gudy.azureus2[9242]    58169:    Core: 277ms for activity between 'Loading Plugin: aefeatman_v' and 'Loading Torrents' 7/30/12 5:07:58 PM    [0x0-0x544544].org.gudy.az [More]
Don´t get the sort order here: I would say that aggr_gem-01 and aggr_gem-02 should come next to each other - but apparantly not. - anyone know why ? SELECT [name] FROM [LagringsAdm].[dbo].[FLtest] order by [name] gives: name aggr_gem-01 aggr_gem01_mi [More]
I'm not sure why, but my Mac seems to be having 'sleeping' troubles lately. I have set my display to turn off after 1 minute of inactivity, and for the Mac to sleep after 15 mins. But the vast majority of the time, my display does not even turn off. [More]
Dear experts, We are currently on: SRM 7 ECC6 (EhP 4) Classic Scenario We are in the process of implementing SUS and ROS in the same client as EBP. There are a few things which are not clear to me: - Do I still need to set up a seperate Vendor Group [More]
When I import Illustrator6 eps files into InDesign the graphics look incomplete, like they need to be re linked.  Why is this happening and how to fix?Does it look incomplete on screen, in a printout or both? If you are viewing at View>Display Perfor [More]
I have this folowing error in the windows event observer (in french). The memory Event Server memory seems to be to small.  (English message traduction : Insufficient memory in the Event Server"" ). How can i increase this memory ? The physical [More]
Firefox doesn't seem to like to play nice with touchpad mice on laptops when it comes to scrolling. I am running Windows 7 on an HP G60-535DX with FF 6. I noticed the scroll issue when I bought this computer and was using FF 5 but it seems the proble [More]
As above my broadband speed has plummeted over the past couple of days which results in no on demand from my bt vision. have spoken to customer support and no joy there. I've changed the microfilter, unplugged router etc. and getting no where. Any he [More]
i've pay for developer account then i got the Activation Code Email i've click on link then page show me We are unable to activate your Apple Developer Program membership. We are unable to activate your Apple Developer Program membership because we a [More]