File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xml, servlet, velocity architecture
 
Similar Threads
Creating XML from fixed length text file using XSL
Journal Article - Velocity - An Introduction
Tool for generating an XSL sheet of a XML
html inquiry
My two bits