File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Top Ten JSP Tips Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Top Ten JSP Tips" Watch "Top Ten JSP Tips" New topic
Author

Top Ten JSP Tips

Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
Many readers of this forum will appreciate this link, Top Ten JSP Tips:
  http://java.oreilly.com/news/jsptips_1100.html

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
IMHO, rule number 1 should be: put the least possible code in the JSP and use beans for everything.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
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

Joined: Jan 30, 2000
Posts: 3222
    
    5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Top Ten JSP Tips