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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » 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: 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: 19216

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: 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: 380
    
    3

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


"I have a mind like a steel... uh... thingy."
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: welcome-file in web.xml taking too time load
 
Similar Threads
setting up new project
Two welcome files in struts application
Diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet
Setting an Action as welcome page(/action)
Can we have multiple welcome-file-lists