On Mon, 23 Sep 2002, srinivas tadikonda wrote:

> It contains 2000 records. In my browser(IE) I want to display name
> only(In table). If anybody click that name I want to display his
> details useing XSL or anything , at the same time I have to give
> sorting facilitly also. Please help me and send sample code....
>
> Note:  I am creating this 'AddressBook. xml' file from my database. I
> can solve the above requirement useing database. But I don't want to
> do because when ever user click the name it will contact the
> database...that to it is little bit slow also...Instead of this I want
> to use xml. But I am new to these things. Please provide solution and
> code also...Please... Everyting Dynamic.....

You can parse the input document with JSTL's <x:parse> tag and then use
<x:out> and <x:forEach> to output the appropriate fields.  See the JSTL
spec, which you can download through http://java.sun.com/products/jstl,
for more information.

--
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to