29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 7-7 Code formatter<br />

3. In the New Lines, Line Splitting, and Style tabs, select the code formatting<br />

conventions that you want the formatter to follow.<br />

4. Note that at the bottom of the page, you can observe an example effect of<br />

each individual code formatting option and see a preview of what your<br />

formatted code will look like.<br />

5. Click OK when you are done.<br />

Quick Fix<br />

The Java editor offers corrections to problems found while typing and after<br />

compiling. To show that correction proposals are available for a problem or<br />

warning, a “light bulb” is visible on the editor's annotation bar.<br />

Left-clicking the light bulb or invoking Ctrl+1 (Edit / Quick Fix) brings up the<br />

proposals for the problem at the cursor position. To select one of the proposals,<br />

double-click it from the pop-up window and it will be inserted into your source<br />

code.<br />

Chapter 7. Working with servlets 227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!