Re: strange display delay

2003-02-25 Thread Chetan Sahasrabudhe
Few Questions first

1. Tree is in java script ?
2. Tree is a applet ?

if java script, do u hit the server again to get the nodes for the tree ?
or do u populate it beforehand and all data goes in one shot to the jsp.

while populating the tree have u written any recursive loops ?
If so, how is your exit logic ?


- Original Message - 
From: Nicolas Grehalle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:40 PM
Subject: strange display delay


 I have a strange display problem with a web page.
 I try to display a Tree with a expand all option.
 When i expand all the tree, the program spends :
 - few milliseconds in my Action class (about 30 ms)
 - 1.2 second in my jsp page (i use the code System.out.println( 
 System.currentTimeMillis() ); on top and bottom of my jsp page).
 - 30 seconds before page displaying (and after my last
 System.out.println) in the browser.
 
 What kind of treatment occures after the jsp executing ?
 
 How know what is the problem ?
 
 Thanks for your help
 
 N.G.
 
 
 


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



Re: strange display delay

2003-02-25 Thread Nicolas Grehalle
Le mar 25/02/2003  11:19, Chetan Sahasrabudhe a crit :

Few Questions first

1. Tree is in java script ?
2. Tree is a applet ?

if java script, do u hit the server again to get the nodes for the tree ?
or do u populate it beforehand and all data goes in one shot to the jsp.

while populating the tree have u written any recursive loops ?
If so, how is your exit logic ?


Tree is all populated in the action. 
I use nested tags to display the tree in the jsp page.
My problem is that server takes anly 1.2 second to build the jsp page,
but the page is displayed in 30 secondes.
I don't understand what takes so many time.


- Original Message - 
From: Nicolas Grehalle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:40 PM
Subject: strange display delay


 I have a strange display problem with a web page.
 I try to display a Tree with a expand all option.
 When i expand all the tree, the program spends :
 - few milliseconds in my Action class (about 30 ms)
 - 1.2 second in my jsp page (i use the code System.out.println( 
 System.currentTimeMillis() ); on top and bottom of my jsp page).
 - 30 seconds before page displaying (and after my last
 System.out.println) in the browser.
 
 What kind of treatment occures after the jsp executing ?
 
 How know what is the problem ?
 
 Thanks for your help
 
 N.G.
 
 
 


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





Re: strange display delay

2003-02-25 Thread Chetan Sahasrabudhe
Nicolas :
can u push your jsp on net ?
I will like to have look at it
coz it itz acting fast on server side it should not have much of the problem
on client side either
but letz see ... push u jsp as attachment (if itz not against ur company
policy)
Chetan
- Original Message -
From: Nicolas Grehalle [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:54 PM
Subject: Re: strange display delay


Le mar 25/02/2003  11:19, Chetan Sahasrabudhe a crit :

Few Questions first

1. Tree is in java script ?
2. Tree is a applet ?

if java script, do u hit the server again to get the nodes for the tree
?
or do u populate it beforehand and all data goes in one shot to the jsp.

while populating the tree have u written any recursive loops ?
If so, how is your exit logic ?


Tree is all populated in the action.
I use nested tags to display the tree in the jsp page.
My problem is that server takes anly 1.2 second to build the jsp page,
but the page is displayed in 30 secondes.
I don't understand what takes so many time.


- Original Message -
From: Nicolas Grehalle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:40 PM
Subject: strange display delay


 I have a strange display problem with a web page.
 I try to display a Tree with a expand all option.
 When i expand all the tree, the program spends :
 - few milliseconds in my Action class (about 30 ms)
 - 1.2 second in my jsp page (i use the code System.out.println(
 System.currentTimeMillis() ); on top and bottom of my jsp page).
 - 30 seconds before page displaying (and after my last
 System.out.println) in the browser.

 What kind of treatment occures after the jsp executing ?

 How know what is the problem ?

 Thanks for your help

 N.G.





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






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



Re: strange display delay

2003-02-25 Thread Nicolas Grehalle
I'm not allowed to join my jsp code, but i can put some part of this
code :


body 


%
long td = System.currentTimeMillis();
System.out.println( heure dpart (vue) :  + (  td ) );
%


nested:form action=/TEXT/searchTextContentBooks.do method=POST

nested:nest property=expandableTree 

nested:iterate id=currentElement property = childCollection
indexId=index 

!--  Node treatment . --


nested:equal property=showChildren value=true
   jsp:include 
page=searchTextContentBooksTreenode.jsp /

/nested:iterate

%
System.out.println( Temps traitement vue :  + (
System.currentTimeMillis() - td ) + ms );
%

/body
/html






Le mar 25/02/2003  11:31, Chetan Sahasrabudhe a crit :

Nicolas :
can u push your jsp on net ?
I will like to have look at it
coz it itz acting fast on server side it should not have much of the problem
on client side either
but letz see ... push u jsp as attachment (if itz not against ur company
policy)
Chetan
- Original Message -
From: Nicolas Grehalle [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:54 PM
Subject: Re: strange display delay


Le mar 25/02/2003  11:19, Chetan Sahasrabudhe a crit :

Few Questions first

1. Tree is in java script ?
2. Tree is a applet ?

if java script, do u hit the server again to get the nodes for the tree
?
or do u populate it beforehand and all data goes in one shot to the jsp.

while populating the tree have u written any recursive loops ?
If so, how is your exit logic ?


Tree is all populated in the action.
I use nested tags to display the tree in the jsp page.
My problem is that server takes anly 1.2 second to build the jsp page,
but the page is displayed in 30 secondes.
I don't understand what takes so many time.


- Original Message -
From: Nicolas Grehalle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:40 PM
Subject: strange display delay


 I have a strange display problem with a web page.
 I try to display a Tree with a expand all option.
 When i expand all the tree, the program spends :
 - few milliseconds in my Action class (about 30 ms)
 - 1.2 second in my jsp page (i use the code System.out.println(
 System.currentTimeMillis() ); on top and bottom of my jsp page).
 - 30 seconds before page displaying (and after my last
 System.out.println) in the browser.

 What kind of treatment occures after the jsp executing ?

 How know what is the problem ?

 Thanks for your help

 N.G.





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






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





RE: strange display delay

2003-02-25 Thread du Plessis, Corneil C
Iterators are generally very efficient I have not used the nested tags but I
cannot image that they would be any different from logic:iterate.
How much work is done in searchTextContentBooksTreenode.jsp ?


-Original Message-
From: Nicolas Grehalle [mailto:[EMAIL PROTECTED]
Sent: 25 February, 2003 12:40
To: Struts Users Mailing List
Subject: Re: strange display delay


I'm not allowed to join my jsp code, but i can put some part of this
code :


body 


%
long td = System.currentTimeMillis();
System.out.println( heure dpart (vue) :  + (  td ) );
%


nested:form action=/TEXT/searchTextContentBooks.do method=POST

nested:nest property=expandableTree 

nested:iterate id=currentElement property =
childCollection
indexId=index 

!--  Node treatment . --


nested:equal property=showChildren value=true
   jsp:include
page=searchTextContentBooksTreenode.jsp /

/nested:iterate

%
System.out.println( Temps traitement vue :  + (
System.currentTimeMillis() - td ) + ms );
%

/body
/html






Le mar 25/02/2003  11:31, Chetan Sahasrabudhe a crit :

Nicolas :
can u push your jsp on net ?
I will like to have look at it
coz it itz acting fast on server side it should not have much of the
problem
on client side either
but letz see ... push u jsp as attachment (if itz not against ur company
policy)
Chetan
- Original Message -
From: Nicolas Grehalle [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:54 PM
Subject: Re: strange display delay


Le mar 25/02/2003  11:19, Chetan Sahasrabudhe a crit :

Few Questions first

1. Tree is in java script ?
2. Tree is a applet ?

if java script, do u hit the server again to get the nodes for the
tree
?
or do u populate it beforehand and all data goes in one shot to the
jsp.

while populating the tree have u written any recursive loops ?
If so, how is your exit logic ?


Tree is all populated in the action.
I use nested tags to display the tree in the jsp page.
My problem is that server takes anly 1.2 second to build the jsp page,
but the page is displayed in 30 secondes.
I don't understand what takes so many time.


- Original Message -
From: Nicolas Grehalle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 3:40 PM
Subject: strange display delay


 I have a strange display problem with a web page.
 I try to display a Tree with a expand all option.
 When i expand all the tree, the program spends :
 - few milliseconds in my Action class (about 30 ms)
 - 1.2 second in my jsp page (i use the code System.out.println(
 System.currentTimeMillis() ); on top and bottom of my jsp page).
 - 30 seconds before page displaying (and after my last
 System.out.println) in the browser.

 What kind of treatment occures after the jsp executing ?

 How know what is the problem ?

 Thanks for your help

 N.G.





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






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



__

Disclaimer and confidentiality note


Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited is proprietary to the company. It is confidential, legally 
privileged and protected by law. Standard Bank does not own and endorse any other 
content. 
Views and opinions are those of the sender unless clearly stated as being that of 
Standard Bank. 

The person addressed in the e-mail is the sole authorised recipient. Please notify the 
sender 
immediately if it has unintentionally reached you and do not read, disclose or use the 
content
in any way. 

Standard Bank can not assure that the integrity of this communication has been 
maintained nor 
that it is free of errors, virus, interception or interference.

__

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