Forums Register Login

JSP Coding Guidelines(Do's & Donts)

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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

+Pie Number of slices to send: Send
here is the code convention at sun: http://java.sun.com/docs/codeconv/
+Pie Number of slices to send: Send
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
this is supposed to be a surprise, but it smells like a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 4750 times.
Similar Threads
Coding standards
Applet Coding Conventions
Need Swing coding guidelines
XML trouble shooting
Struts best practices
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:06:59.