aspose file tools*
The moose likes Struts and the fly likes welcome-file in web.xml taking too time load Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "welcome-file in web.xml taking too time load" Watch "welcome-file in web.xml taking too time load" New topic
Author

welcome-file in web.xml taking too time load

rastogi payam
Ranch Hand

Joined: May 09, 2011
Posts: 46

Hi All
We have a code in web.xml in our struts 1.2 based application


When we tested our application with 100 users the file defined in the above tag (LoginNew.jsp) is taking more than 3 secs to get load.

Can anybody suggest me a workaround.

Thanks


SCJP 1.6, OCPWCD 5
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19720
    
  20

Why not try to tackle the cause of the problem? Do you already have an idea why it takes 3 seconds? Is it a database lookup? Disk or network access? TellTheDetails.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
rastogi payam
Ranch Hand

Joined: May 09, 2011
Posts: 46

Hi Rob,

The LoginNew.jsp is a simple file with one textbox field to enter the userid and a "OK" button and it is present in myapp.war(immediately inside it).
As far as the timing concerns I don't have any idea about it.
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 1003
    
  13

Have you tried using FireBug or Fiddler to look at the timeline?


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
 
 
subject: welcome-file in web.xml taking too time load