the include directive is at page translation, but it's the page source...

in pseudo jsp :)


A:
HI<getDate()>

B:
HI<getDate()>

C:
<include A>
<jsp:include B>


C becomes:
HI<getDate()>
requestdispatcher( B ).include()

and that is what is executed..
thus both getDate() calls are made are request time..

fern




On Thu, 8 Mar 2001, Paul J Deitel wrote:

> It is my understanding that the include directive is processed at page
> translation time and the jsp:include action is processed at request time.
> However, I seem to get the same functionality from both.
> 
> I have a simple JSP that creates a java.util.Date object. I tried both forms
> of include expecting that the directive form would result in date and time
> at which the page was first translated and that the action form would
> provide the date and time of each request.
> 
> Does tomcat 3.2.1 handle both include forms identically? Or am I doing
> something wrong?
> 
> Thanks,
> 
> Paul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to