Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Suggestion required- struts 2

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic