aspose file tools*
The moose likes XML and Related Technologies and the fly likes xml, servlet, velocity architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml, servlet, velocity architecture" Watch "xml, servlet, velocity architecture" New topic
Author

xml, servlet, velocity architecture

Lou Rappal
Greenhorn

Joined: Feb 14, 2002
Posts: 5
Hi XML gurus,
I don't know whether it is possible.
XML
=====
I am writing a xml document which has INPUT html variable names, and variable types , and OUTPUT html variables, types.
VELOCITY
=========
I want to write a HTML template page using velocity.
SERVLET
========
I also want to write a single servlet to construct the dynamic html pages based on the variables contained in XML document, and feed the data to the Velocity template. This servlet also handles "submit" button to save data in the database. All the Http requests/responses are handled by this single servlet.
In this case, I will have xml file, and velocity template for each screen, and ONE single SERVLET for the entire application. Let's say, I have 100 screens/pages to construct.
Is the above architecture possible or not?
Any suggestions....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml, servlet, velocity architecture