Use the magic word include! :)

something like <[EMAIL PROTECTED] file="defaults.jsp"%> in each of your pages.
Then you just have one place to put it. But I don't know if there is a way to set it at the Jasper level.


Jean-Philippe Bélanger
CGI


Rogerio Baldini das Neves wrote:


Thanks Jean-Philippe, it works fine rigth now.
Is it possible to set up this parameter in server? I think it will be boring to set it up in each jsp file.
thanks again,


*______________________________________________________________*
*Rogério Baldini das Neves*
*Diretor de Tecnologia*
1 www.infoquest.com.br <http://www.infoquest.com.br> *+*
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
*(* 55 (31) 3261-7030 / Ramal 27


    ----- Original Message -----
    *From:* [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    *To:* Tomcat Users List <mailto:[EMAIL PROTECTED]>
    *Sent:* Tuesday, January 13, 2004 11:51 AM
    *Subject:* Re: SPAM?: problem in jsp response

    sorry... I kinda forgot the right directive and param. it's <@page
    buffer="none"%>

    Jean-Philippe Bélanger
    CGI


Rogerio Baldini das Neves wrote:


> Hi,
> > I have a problem that's getting me crazy.
> > A code in jsp file like this:
> **
> *<%
> for(int i=0; i<10; i++)
> {
> out.println("i:"+i+"<br>");
> Thread.sleep(1000);
> }
> %>*
> **
> is just showed in browser when tomcat finishes processing all
iterates
> (it takes 10 seconds).
> This is, tomcat sends the html soucecode just when process ends.
> I need tomcat sends soucecode to response on demand (on each
iteration
> - 1 per second)
> > Is it possible ?
> Somebody help me ...
> > Thanks,
>
> *______________________________________________________________*
> *Rogério Baldini das Neves*
> *Diretor de Tecnologia*
> 1 www.infoquest.com.br <http://www.infoquest.com.br>
<http://www.infoquest.com.br> > *+*
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
> *(* 55 (31) 3261-7030 / Ramal 27
>


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



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



Reply via email to