  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | problem in jsp response | problem in jsp response 2004-01-13 - By Rogerio Baldini das Neves
Back 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 + baldini@(protected) ( 55 (31) 3261-7030 / Ramal 27
-- -- Original Message -- -- From: jean-philippe.belanger@(protected) To: Tomcat Users List 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> > *+* > baldini@(protected) <mailto:baldini@(protected)> > *(* 55 (31) 3261-7030 / Ramal 27 >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1276" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Thanks <FONT face="Times New Roman" size=3>Jean-Philippe, it works fine rigth now.</FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Is it possible to set up this parameter in server? I think it will be boring to set it up in each jsp file.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>thanks again,</FONT></DIV> <DIV><BR> <DIV><FONT face='"Verdana", Geneva, MS sans-serif' color=#000000 size=-2><B>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____</B> <BR><FONT face='"Verdana", Geneva, MS sans-serif' color=#000000 size=-1><B>Rog�rio Baldini das Neves</B><BR></FONT><FONT face='"Verdana", Geneva, MS sans-serif' color=#000000 size=0><B>Diretor de Tecnologia</B> </FONT></DIV> <DIV><FONT size=1> <TABLE border=0> <TBODY> <TR> <TD><FONT face=Wingdings color=#000000 size=2>1 </FONT></TD> <TD><A style="COLOR: #000000" href="http://www.infoquest.com.br"><FONT face="MS Sans Serif" size=1>www.infoquest.com.br</FONT></A></TD> <TD rowSpan=3> <IMG alt=" " src="http://www.infoquest.com.br/img/logo_01.gif" border=0></TD></TR> <TR> <TD><STRONG><FONT face=Wingdings color=#000000>+</FONT></STRONG></TD> <TD> <DIV><FONT size=1><A style="COLOR: #000000" href="mailto:baldini@(protected)">baldini@(protected)</A></FONT ></DIV></TD></TR> <TR> <TD><STRONG><FONT face=Wingdings color=#000000>(</FONT></STRONG></TD> <TD><FONT face="MS Sans Serif" color=#000000 size=1>55 (31) 3261-7030 / Ramal 27</FONT></TD></TR></TBODY></TABLE></FONT></DIV></FONT></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=jean-philippe.belanger@(protected) href="mailto:jean-philippe.belanger@(protected)">jean-philippe.belanger@(protected)< /A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=tomcat-user@(protected) href="mailto:tomcat-user@(protected)">Tomcat Users List</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 13, 2004 11:51 AM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: SPAM?: problem in jsp response</DIV> <DIV><BR></DIV>sorry... I kinda forgot the right directive and param. it's <@(protected) <BR>buffer="none"%><BR><BR>Jean-Philippe B�langer<BR>CGI<BR><BR><BR>Rogerio Baldini das Neves wrote:<BR><BR>> Hi,<BR>> <BR>> I have a problem that's getting me crazy.<BR>> <BR>> A code in jsp file like this:<BR>> ** <BR>> *<%<BR>> for(int i=0; i<10; i++)<BR>> {<BR>> out.println("i:"+i+"<br>");<BR>> Thread.sleep(1000);<BR>> } <BR>> %>*<BR>> ** <BR>> is just showed in browser when tomcat finishes processing all iterates <BR>> (it takes 10 seconds).<BR>> This is, tomcat sends the html soucecode just when process ends.<BR>> I need tomcat sends soucecode to response on demand (on each iteration <BR>> - 1 per second)<BR>> <BR>> Is it possible ?<BR>> Somebody help me ...<BR>> <BR>> Thanks,<BR>><BR>> *__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____*<BR>> *Rog�rio Baldini das Neves*<BR>> *Diretor de Tecnologia*<BR>> 1 <A href="http://www.infoquest.com.br">www.infoquest.com.br</A> <<A href="http://www.infoquest.com.br">http://www.infoquest.com.br</A>> <BR>> *+* <BR>> <A href="mailto:baldini@(protected)">baldini@(protected)</A> <<A href="mailto:baldini@(protected)">mailto:baldini@(protected)</A>> ;<BR>> *(* 55 (31) 3261-7030 / Ramal 27<BR>><BR><BR>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ -- ---- --<BR>To unsubscribe, e-mail: <A href="mailto:tomcat-user-unsubscribe@(protected)">tomcat-user -unsubscribe@(protected)</A><BR>For additional commands, e-mail: <A href="mailto:tomcat-user-help@(protected)">tomcat-user-help@(protected) .apache.org</A><BR><BR><BR></BLOCKQUOTE></BODY></HTML>
|
|
 |