• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Suggestion required- struts 2

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The home page of the web application we created has 3 jsps included in it using jquery. The problem now is that everytime user logs in to the system the server is hit 4 times. one for the login, the rest for loading the pages.. I wanted to know if its possible to avoid this. A re-work on the architecture is impossible, is there an other way out? Any suggestions would be of great help as the performance of the server is going down drastically.

Thanks
Anil
 
Ranch Hand
Posts: 122
Mac IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's close to impossible to give you any advice with the little information you provide. However if you are including 3 jsp's using jQuery you should probably re-architect that page to use something like tiles or something. Regardless, you'll probably need to do some type of re-work to fix any type of performance ... but not sure based on what we know
 
Anil Verghese
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My page --
[/code]

I am using tomcat server..

I am not sure how tiles would help to resolve this issue. 2 of the pages require data from the db to be displayed, the maim purpose for including 3 in 1 was to avoid the whole page from getting rfereshed wen an operation was done say like insert.. i.e say if the user was working one of the 3 jsps, on click of the button in that jsp the other 2 pages would not be affected.

Hope this would give you a bit of idea about the issue
 
reply
    Bookmark Topic Watch Topic
  • New Topic