[jdom-interest] using jdom in jsp

Gary Lawrence Murphy garym at canada.com
Tue Apr 16 07:05:25 PDT 2002

>>>>> "S" == Sebouh Hamakorzian <sebouh_hamakorzian at edu.aua.am> writes:

    S> Hi i'm a beginner, i would like to do a xml transformation in
    S> jsp, i have a xml file, i want to transform it to a select list
    S> in jsp(html) file

    S> what should i do, can anyone know a site that will be helpful.

There is nothing special about JSP; you do this exactly the same way
you would do it in Java (see the JDOM docs), enclosing the code inside
the <? JSP tags -- JSP files are pre-processed into java servlet
source files, compiled and run.

your web application must also have access to the JDOM jar files (put
them in WEB-INF/lib) and you need to declare your JDOM classes in
<@page import/> statements

Gary Lawrence Murphy <garym at teledyn.com> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)

More information about the jdom-interest mailing list