File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

separation of business and presentation logic

 
Alex Kravets
Ranch Hand
Posts: 476
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic