This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Request time VS Translation Time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Request time VS Translation Time" Watch "Request time VS Translation Time" New topic
Author

Request time VS Translation Time

Vishal Bharadwaj
Greenhorn

Joined: Oct 23, 2003
Posts: 3
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
Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
<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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Request time VS Translation Time