Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Efficiency  RSS feed

 
Roopa Bagur
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody explain to me whether having lots of 'if' statements in a JSP file will hamper the efficiency of the JSP when compared to having just a few..
Thanks,
Roopa.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compared to the amount of CPU time consumed in doing the character conversions in String output, if statements are invisibly small, so don't worry about that.
Bill
------------------
author of:
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!