JSP File Standards for Mobile Device Interfaces

Although HTML code is embedded in Java™ Server Pages, strive to write JSP code that is easily readable. If you require some special XML manipulation that cannot be incorporated in the APIs, include a separate JSP file, so that HTML tags and Java code do not become mixed together.

Use the following standards when writing JSP files:
Tip: When finished coding a form, open it in any visual HTML editor to validate that the HTML is well-formed.