I have a jsp file where I'm trying to separate html and jsp. I moved most of html out by now, but I still have pretty big file that contains html elements that I'd rather move. I know the file can be cleaned up, but don't know how to do this with the least ammount of extra code. Here is an example of what I'd like to change:
Ok, so I got rid of most of out.println, and now I have jsp page in this spirit: <tr><td class='plaintext'><b>Project NO:</b></td> <td class='plaintext'> <% if(request.getParameter("T1") != null )out.println(request.getParameter("T1")); %> <tr><td class='plaintext'><b>Project Title:</b></td> <td class='plaintext'> <% if(request.getParameter("T3") != null) out.println(request.getParameter("T3")); %> </td></tr> But it still seams like a dirty code. Can the above be cleaned up a little more?