This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts and Websphere Express 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and Websphere Express 5.1" Watch "Struts and Websphere Express 5.1" New topic
Author

Struts and Websphere Express 5.1

Thara Visu
Ranch Hand

Joined: May 17, 2005
Posts: 87
Hi All.
I have a unique problem.

I have an application using struts. The application is ok when it runs on the test environment of the WSAD 5.1.2. But when I deploy the app to Websphere Express 5.1 it takes an awfully long time to load the pages for the first time.

What could be the reason?

Thanks in advance.


Thara<br />SCJP 1.4 96%<br />SCBCD 1.3 96%
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

It will take a long time to load the pages on the test environment too the first time they get loaded because they have to compile. You don't notice it because it only has to recompile pages that have been changed.

When you deploy, all the jsps are treated as new because, well, they are new because the deployment is new. If your users complain and fear poor performance, it might be in your best interest to perform a quick runthrough of the pages before they see each new deployment.


A good workman is known by his tools.
Thara Visu
Ranch Hand

Joined: May 17, 2005
Posts: 87
Thanks Marc.
One more question will it take around 30 mins to start the application on the server?
 
jQuery in Action, 2nd edition
 
subject: Struts and Websphere Express 5.1