XML  as Data Source

XML File format


To run the sample application Download the project files from http://sourceforge.net/projects/sfg/ here

Unpack the file under web application directory (webapps/)

Change the  authenticate/WEB-INF/Web-xml.xml into web.xml

In web.xml change the location of user database XML file Name


Add some sample records in that file

Than start the web server and point your browser to http://localhost/authenticate/ you should be able to see index page.

To Debug please look into log file and web server console message.

Note :

    This program uses IBM XML Parser. you can find IBM XML Parser in lib (WEB-INF/lib/xml4j.jar) directory.