Posts

Showing posts from October, 2013

ATG dos and donts with Weblogic

1. Use single and Double quotes alternatively .             <dsp:param name='<%="abc"%>' value = "12" /> - Correct     <dsp:param name="<%="abc"%>" value = "12" /> - Wrong 2. Proper String Concatenation     <dsp:param name='"xxx" + <%="abc"%>' value = "12" /> -       Correct     <dsp:param name="xxx"<%="abc"%> value = "12" /> - Wrong 3. Use DynamoHttpServletRequest instead of HttpServletRequest    DynamoHttpServletRequest drequest =     ServletUtil.getDynamoRequest(request);  4. Always Specify encoding type in JSP Pages    <%@ page contentType  = "text/html" %>    Below are few best practices for developers 1. Always use Generics. 2. Use String Builder instead of String Buffer in logging . 3. Always use Enhanced For Loop. 4. Use annotations(@over...