Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Top Ten JSP Tips

 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many readers of this forum will appreciate this link, Top Ten JSP Tips:
  http://java.oreilly.com/news/jsptips_1100.html
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO, rule number 1 should be: put the least possible code in the JSP and use beans for everything.
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The author does mention that in his Top Ten.
BTW, the author of the article is the author of ( http://www.oreilly.com/catalog/jserverpages ) the first O'Reilly book on JSPs, which I recommend.
After (professionally) working for 10 months in Servlets and JSPs, I learned a couple of new things with this book which just came out.
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW, on your ( and "Model 2's") statement that JSP should not include any Java code, I agree.
Except that it may not be necessary to follow it 100% if the people involved in the project are all Java programmers.
It's when you have a clear separation of duties between "HTML authors" and Java developers where the separation should be as clear as possible.
"To each his own", as the author explains in the abovementioned book.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic