• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Request time VS Translation Time

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am preparing for SCWCD exam.
Can some one explain to me in detail about Translation time and Request time concepts.
<JSP:include> :- Invoked at Request time action
<@include > :- Invoked at Translation Time
Can someone explain to me about the difference between Request time and Tranlation time with respect to <@JSP: include> and <@include>
Thanks in advance !!!
- Vishal
 
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<jsp:include.../> invoked at request time means that if file A.jsp calls file B.jsp using <jsp:include.../>. File A.jsp is translated and converted into Servlet; same applies to file B.jsp, but at request time the template generated by the servlet of B is included onto the output of A dynamically. However in <%@ include.../> the content of file B(which is the raw code) is included onto file A before it is translated to servlet and this is done in a static manner.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic