Sunday, July 10, 2005
Todo WebApplication
Working with VTL (Velocity Template Language) was interesting. I have designed a small web application called 'todo'. This will allow you to put up task todo and also it will allow you to delete the task that are completed. This application can also work without using velocity.
What are the features?
Brief README follows, you can see the complete README file in sourcezipfile.
What are the features?
- It is a simple web application that uses XMLHttpRequest to talk with the server.
- You can configure the application to use either HttpServlet or VelocityServlet just by changing the web.xml files.
- You can keep track of you task through web interface.
Brief README follows, you can see the complete README file in sourcezipfile.
- Put the todo.war file into Tomcat's webapp directory.
- Start tomcat. Tomcat will unpack the war file into the directory (todo).
- By default the web.xml file in todo/WEB-INF will use the servlets present in the package pra.code.todo.servlets.
- You can make the application to use the servlets present in the package pra.code.todo.velocity, by replacing the web.xml with velocity.web.xml under the name web.xml.
- You may have to restart Tomcat.
Friday, July 01, 2005
XMLMapper Utility
The basic purpose of XMLMapper utility is to enable working with xml files easily using Java's lists and maps. XMLMapper will parse the xml file and creates XMLElement (root) that will contain XMLElements (children) and attributes. The xmlfile is parsed using SAXParser. Using the XMLMapper, I have written few applications like RSSFeedParser and XMLCompare which will show the usage of the utility. You can download the complete source from here .
[UPDATE: Using XMLMapper wrote a application AntReportDiff that will compare the xml report files generated for testsuite when ant is used with juint. You can download it here.To know more about the application please go through README file in it.]
[UPDATE: Using XMLMapper wrote a application AntReportDiff that will compare the xml report files generated for testsuite when ant is used with juint. You can download it here.To know more about the application please go through README file in it.]