File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply 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: 40

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
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18370

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
How To Ask Questions How To Answer Questions
rastogi payam
Ranch Hand

Joined: May 09, 2011
Posts: 40

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.
Jk Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 159
Have you tried using FireBug or Fiddler to look at the timeline?
 
 
subject: welcome-file in web.xml taking too time load
 
Threads others viewed
Setting an Action as welcome page(/action)
setting up new project
Can we have multiple welcome-file-lists
Two welcome files in struts application
Diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet
IntelliJ Java IDE