Java Reference
In-Depth Information
Developing the input page
NetBeans has a palette where we can drag and drop many HTML and JSP elements
into the page. For all HTML and JSP elements, regardless of whether they are
available in the palette or not, NetBeans offers code completion.
We need to modify our page so that it has an appropriate header and title and some
instructions for the user.
Changing the title and header is trivial; we simply need to modify the body of the
tags that were already in the page. We would like to display the instructions inside
an HTML <p> tag. We can of course type the tag directly or we can type the opening
angled bracket and hit Ctrl+space to invoke code completion, we can then select the
tag from the list.
At this point the page should look like this:
<%--
Document : index
Created on : Aug 20, 2010, 9:23:43 PM
Author : heffel
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
 
Search WWH ::




Custom Search