*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 42

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: 19541
    
  16

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: 42

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
Ranch Hand

Joined: Dec 16, 2010
Posts: 632
    
    7

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


"There is no reason for any individual to have a computer in his home" ~ Ken Olson, Co-founder of DEC, 1977
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: welcome-file in web.xml taking too time load
 
Similar Threads
Can we have multiple welcome-file-lists
setting up new project
Two welcome files in struts application
Setting an Action as welcome page(/action)
Diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet