• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml, servlet, velocity architecture

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic