Topic: JSP best practices |
Print this page |
1.JSP best practices | Copy to clipboard |
Posted by: dapan Posted on: 2002-08-06 15:25 Follow these tips for reusable and easily maintainable JavaServer Pages : http://www.javaworld.com/javaworld/jw-11-2001/jw-1130-jsp.html? http://www.javaworld.com/javaworld/jw-11-2001/jw-1130-jsp-p2.html http://www.javaworld.com/javaworld/jw-11-2001/jw-1130-jsp-p3.html 编写JSP怎么才能又快又好?! ^_^ |
2.回复: JSP best practices [Re: dapan] | Copy to clipboard |
Posted by: dapan Posted on: 2002-08-06 15:42 Separate HTML from Java Place business logic in JavaBeans Factor general behavior out of custom tag handler classes Favor HTML in Java handler classes over Java in JSPs Use an appropriate inclusion mechanism Use a JSP template mechanism Use stylesheets Use the MVC pattern Use available custom tag libraries Determine the appropriate level of XML compliance Use JSP comments in most cases Follow HTML best practices Utilize the JSP exception mechanism |
3.回复: JSP best practices [Re: dapan] | Copy to clipboard |
Posted by: Biubiu Posted on: 2002-08-06 17:55 好东西,多谢。 |
4.回复: JSP best practices [Re: dapan] | Copy to clipboard |
Posted by: blanka Posted on: 2002-09-10 21:52 good! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |