The only difference i know, is that jsp:include actually creates a new
context for each page, so the included page writes directly to the
outputstream, and bean:include caches the result of the included page and
writes it out at once.

So if you are playing with flush-attribute or having uncaught exceptions in
the included page, you may encounter problems, at least on tomcat. 
However, to answer your original question, both methods should be
thread-safe, at least as long, as you code thread-safe.

Regards
leon
 

> -----Ursprüngliche Nachricht-----
> Von: sajith kumar [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 17. August 2005 08:57
> An: user@struts.apache.org
> Betreff: Clarification Reg bean:include
> 
> Hi all,
> Is bean:include thread safe?
> In our proj we were using bean:include to include alternative 
> jsp's based on some conditions thru action class But when 
> Concurrent users were acessing the system the application 
> didnt respond We changed our logic by replacing bean:include 
> with logic:equal and jsp:include in jsp files
>  
> Thanks & regards
> Sajith
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection 
> around http://mail.yahoo.com 
> 



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

Reply via email to