Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Problem in JSP rendering

  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem in JSP rendering

    Hi,
    We are using struts framework in our application and we are facing problem in jsp rendering. It is giving tcp/ip problem.
    From the logs we can see that the request is processing twice and due to this the timeout issue is coming. We are unable to trace why the execute method is executing twice.
    Problem Description:

    Our application is to connect active directory and get all the accounts and refresh them with new values from the database. In one of the JSP we have a link for this purpose to hit an action class. We identified that when there are aroung 1000 accounts this is working fine and the result JSP is displaying correctly. When there are more than 1200 accounts the execute method is executing twice and due to this we are getting network error/may be server busy error. From the logs we can see the execution method is executing correctly and the next jsp also initialised fine. But finally we are getting the network error.

    Can anyone help me on this to trace why the request is hitting twice.


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: Problem in JSP rendering

    Whats the error you are getting, show us a stack trace please?

    // Json