Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
problem in jsp response

problem in jsp response

2004-01-13       - By Rogerio Baldini das Neves

 Back
Reply:     1     2     3     4     5     6     7  

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>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp;<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
 &lt;@(protected) <BR>buffer="none"%&gt;<BR><BR>Jean-Philippe
 B�langer<BR>CGI<BR><BR><BR>Rogerio Baldini das Neves wrote:<BR><BR>&gt;
 Hi,<BR>&gt;&nbsp; <BR>&gt; I have a problem that's getting me
 crazy.<BR>&gt;&nbsp; <BR>&gt; A code in jsp file like this:<BR>&gt; **
 <BR>&gt; *&lt;%<BR>&gt; for(int i=0; i&lt;10; i++)<BR>&gt; {<BR>&gt;&nbsp;
 out.println("i:"+i+"&lt;br&gt;");<BR>&gt;&nbsp; Thread.sleep(1000);<BR>&gt; }
 <BR>&gt; %&gt;*<BR>&gt; ** <BR>&gt; is just showed in browser when tomcat
 finishes processing all iterates <BR>&gt; (it takes 10 seconds).<BR>&gt; This
 is, tomcat sends the html soucecode just when process ends.<BR>&gt; I need
 tomcat sends soucecode to response on demand (on each iteration <BR>&gt; - 1
 per second)<BR>&gt;&nbsp; <BR>&gt; Is it possible ?<BR>&gt; Somebody help me
 ...<BR>&gt;&nbsp; <BR>&gt; Thanks,<BR>&gt;<BR>&gt;
 *__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____*<BR>&gt;
 *Rog�rio Baldini das Neves*<BR>&gt; *Diretor de Tecnologia*<BR>&gt; 1 <A
 href="http://www.infoquest.com.br">www.infoquest.com.br</A> &lt;<A
 href="http://www.infoquest.com.br">http://www.infoquest.com.br</A>&gt; &nbsp;
 <BR>&gt; *+* <BR>&gt; <A
 href="mailto:baldini@(protected)">baldini@(protected)</A> &lt;<A
 href="mailto:baldini@(protected)">mailto:baldini@(protected)</A>&gt
;<BR>&gt;
 *(* 55 (31) 3261-7030 / Ramal
 27<BR>&gt;<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>

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