I would try breaking up the jsp and put the statements that I suggested
to see what part of the jsp is taking long.

Once I had a problem with one drop down that was taking a long time,
when I was using the html:options tag.

I just a custom java to overcome the slow down, I guess that the
html:options tag uses reflections and sometimes it can be a little slow
when there are 2 many things in the dropdown.

I also created a custom tag lib to use the method name vs the property
names and that was also slightly faster, but the first thing I would do
is isolate what statement or statements are taking long time in the jsp
page, by putting the time statements in between.



-----Original Message-----
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2003 11:31 AM
To: 'Struts Users Mailing List'
Subject: RE: JSP's taking too long in websphere


Thank you, Varun.
Yes, the JSP's only take long. I would start opening files from the
hierarchy, and only when I open the JSP's, it takes a long time. Yes, I
do have a couple of drop downs and radio buttons.

Johnny, long = 13 sometimes 15 seconds. Unbelievable long and only for
the JSP's! and yes, I've rebooted my machine many times.

If this is the case, then I'm pretty sure it's because of the complexity
of my JSP.

-----Original Message-----
From: Poon, Johnny [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 12:26 PM
To: 'Struts Users Mailing List'
Subject: RE: JSP's taking too long in websphere


I think Varun had some very good suggestion.

I will not say WSAD is a fast IDE by any mean, but how long is "long"
for you?  A second or 2?  I have a 1GB of CPU and 1GB of Mem running NT,
except to bring up WSAD, it runs ok for me in general.  Along with all
the suggestions that Varun had, have you try to reboot your machine? ;-)

JP

-----Original Message-----
From: Varun Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 11:20 AM
To: 'Struts Users Mailing List'
Subject: RE: JSP's taking too long in websphere


Do you have lot of lists on your page, do you use drop downs etc and how
is the length of the drop downs.

What is the approximate size of the page being delivered. I would check
all the parameters to see what is the size of the page that you are
rendering, what is size of the lists etc.

It can take long depending on the amount of processing, and are you sure
that it is the jsp page which is taking long?

Also I would put some statements like 
 long stTime = System.currentTimeMillis();
At the starting and 
log.debug("time before forward the request:" +
(System.currentTimeMillis() - stTime));
Before the end of the page to really see what is the time being spent in
rendering the page.



-----Original Message-----
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2003 11:08 AM
To: 'Struts Users Mailing List'
Subject: RE: JSP's taking too long in websphere


Johnny,

It is still taking a long time.. even after I checked off those options!
None of my other files take this long - except for the JSP's.

-----Original Message-----
From: Poon, Johnny [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 11:40 AM
To: 'Struts Users Mailing List'
Subject: RE: JSP's taking too long in websphere


What is the CPU and Memory of your computer?  Sometime it could be
simply lack of power to run WSAD.

Another thing you can try is to turn off "Perform build automatically on
resource modification" and "Refresh Workspace on startup".  You can find
these 2 options in "Window->Preferences->Workbench".

HTH.

JP



-----Original Message-----
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 10:33 AM
To: 'Struts Users Mailing List'
Subject: RE: JSP's taking too long in websphere


I'm sure there's an option to turn that off somewhere.  What version are
you running?

Websphere tends to be kinda slow.  I've had some issues with that,
especially in version 4 and version 5 integration edition.

- Keith


-----Original Message-----
From: Alawadhi, Mona [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 11:18 AM
To: 'Struts Users Mailing List'
Subject: JSP's taking too long in websphere


Hello everyone,

I work with strtus framework and use websphere. The problem is that it
takes a lot of time to open, load, or save my JSP pages. Could it be
because websphere compiles everything (even when I open the page?) if
yes, is there any option to turn that off?

I appreciate any suggestion

Mona 


************************************************************************
****
*
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
email by anyone else is unauthorized. 

If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in
the governing KPMG client engagement letter.         
************************************************************************
****
*


---------------------------------------------------------------------
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]

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


************************************************************************
*****
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
email by anyone else is unauthorized. 

If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in
the governing KPMG client engagement letter.         
************************************************************************
*****


---------------------------------------------------------------------
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]

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


************************************************************************
*****
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
email by anyone else is unauthorized. 

If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in
the governing KPMG client engagement letter.         
************************************************************************
*****


---------------------------------------------------------------------
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]

Reply via email to