You don't have to do anything. HTML pages, whether static or generated by JSP, work on all monitor resolutions by default. Everything is laid out to fill the width of screen you have (‘liquid layout’).
It's only when you actively defeat this feature, by ‘fixing height and width’, using a method such as:
<table width="750">
or CSS:
body .page { width: 750px; margin: 0 auto; }
that you have problems with pages being inconvenient on unexpected resolutions. Leave them alone, or set widths in percentages instead, and you'll be fine.
(In practice most pages are a mixture of fixed-size and variable elements, but making sure the main textual content is in a liquid container is the most important thing to avoid the dreaded horizontal scrollbar.)