• 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

separation of business and presentation logic

 
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I have a generic jsp page that builds custom screens. Right now all the information about a particular screen comes from a file where I describe each of the fields. A class that renders the screen reads this file and builds html screen on the fly. Is there a way I can "marry" a static html page without relying on files that I use right now and Java in order to create a screen? This will make building my generic screens much more flexible since I will be able to create an html page how I see fit without making my render class much too complex in order to describe different possibilites of html component positioning.
thanks a lot,
Alex
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is there a way I can "marry" a static html page without relying on files that I use right now and Java in order to create a screen?


You lost me here.
 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry...
I guess what I am trying to say is how can I create sort of html template that will describe how my page will look, but will not include any Java code. Java code that is responsible for manipulating data will read this template and populate all fields as needed.
Hope I am clear this time
 
reply
    Bookmark Topic Watch Topic
  • New Topic