Preparing the Interface
a simple interface for the 2 pages.
both index.jsp and response.jsp implement an HTML table to display data in a structured fashion.
Index.jsp also requires an HTML form that includes a drop-down list.
index.jsp
make sure index.jsp is opened in the Source Editor.
doulbe click index.jsp
webpage>>index.jsp
ctrl+shift 8
table icon fromt the HTML category and note that the code snippet for the
item displays
* Rows: 2
* Columns: 1
* Border Size: 0
Response.jsp
right-click the IFPWAFCAD project node int he proejcts window and choose
New > JSP.
The New JSP file dialog open
JSP File Name field, enter response, note that Web Pages is currently
selected for the Location field. meaning that the file will be
created in the project's web directory.
This is the same location as where the index.jsp is generated and opens
in the Source Editor.
A new JSP node also displays under Web Pages in the Projects window
Shift +F6
Wednesday, February 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment