Online Books:
java.net on MarkMail:
Search |
||
More Easy JSTLPosted by bleonard on September 30, 2005 at 11:34 AM PDT
Yesterday I put together a blog showing how easy it is to work with JSTL in NetBeans. One thankful reader asked for a follow-up on using the JSTL XML library. I think this was primarily due to a problem he was having with a package name change from JDK1.4 to 5 (see my response for more details). But it's simple enough, so here goes anyhow. I'll basically just do what I did yesterday, display a table of customers. However, today, that customer list will come from and XML document rather than a SQL database. <?xml version="1.0" encoding="UTF-8"?>
<customers>
<customer>
<num>1</num>
<name>SuperCom</name>
<city>Miami</city>
<phone>305-777-4632</phone>
</customer>
<customer>
<num>2</num>
<name>Livingston Enterprises</name>
<city>Miami</city>
<phone>305-456-8888</phone>
</customer>
<customer>
<num>25</num>
<name>Oak Computers</name>
<city>Dallas</city>
<phone>214-999-1234</phone>
</customer>
<customer>
<num>3</num>
<name>MicroApple</name>
<city>Atlanta</city>
<phone>555-275-9900</phone>
</customer>
</customers>
I didn't mention yesterday, but this exercise was done with NetBeans 4.1. You could also use the NetBeans 5.0 BETA .
»
Related Topics >>
Netbeans Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|