Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: problem in jsp response

jean philippe belanger

2004-01-13

Replies:

Use the magic word include! :)

something like <%@(protected).
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>  
> *+*  
> baldini@(protected)>
> *(*  55 (31) 3261-7030 / Ramal 27
>
>   ----- Original Message -----
>   *From:* jean-philippe.belanger@(protected)
>   <mailto:jean-philippe.belanger@(protected)>
>   *To:* Tomcat Users List <mailto:tomcat-user@(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 <@(protected)
>   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>
>   > *+*
>   > baldini@(protected)>
>   <mailto:baldini@(protected)>
>   > *(* 55 (31) 3261-7030 / Ramal 27
>   >
>
>   ---------------------------------------------------------------------
>   To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>   <mailto:tomcat-user-unsubscribe@(protected)>
>   For additional commands, e-mail:
>   tomcat-user-help@(protected)
>   <mailto:tomcat-user-help@(protected)>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.