• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Coding Guidelines(Do's & Donts)

 
parul jain1
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I require to prepare a document regarding "JSP Coding Guidelines". This document will be taken as a standard while developing jsp's in our project.
Suggest some relevant site from where i can pick up the material as it is. The document should clearly tell the Do's and Dont's while writing a jsp page.
thanks
 
Dustin Marx
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would be interested in a similar type document, but do not know of any in the format you mention. However, the following links provide information from which "do" and "don't" ideas could be gleaned.
Hans's Top Ten JSP Tips http://java.oreilly.com/news/jsptips_1100.html
Blueprints -- The Web Tier http://www.java.sun.com/j2ee/blueprints/web_tier/index.html
Use JSP Templates To Encapsulate Webpage Layout and Encourage Modular Design http://developer.java.sun.com/developer/technicalArticles/javaserverpages/jsp_templates/
J2EE Project Dangers (JavaWorld) http://www.javaworld.com/javaworld/jw-03-2001/jw-0330-ten_p.html
Process JSPs Effectively With JavaBeans (JavaWorld) http://www.javaworld.com/javaworld/jw-01-2001/jw-0119-jspframe_p.html
Understanding JavaServer Pages Model 2 Architecture http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc_p.html
Encapsulate Reusable Functionality in JSP Tags (JavaWorld) http://www.javaworld.com/javaworld/jw-08-2000/jw-0811-jsptags_p.html
Advanced Form Processing Using JSP (JavaWorld) http://www.javaworld.com/javaworld/jw-03-2000/jw-0331-ssj-forms_p.html

 
Cynthia Yao
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the code convention at sun: http://java.sun.com/docs/codeconv/
 
parul jain1
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Dustin.
These sites will surely help.
Format is not told to me either.
Its just that in our previous project, during reviews we found lots of bad practices being followed.
Like putting
1. lot of java code inside the jsp page.
2. use of global variables.
etc..
so if you find any document already developed by somebody please refer.
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic