Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Publishing in java

 
Jack Schnider
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I got a problem. I have got content (in multiple formats, mostly html) which I want to present to users.
I dont what them to directly access the content. basically I want them to access the content though a Mode where I can control their access to downloading the content at one go:-)
What I plan is not much but the links to be changed(parsed) and some cosmetics like header, footer, etc..
Any Ideas how do i go about implementing it? All suggestions are welcome.
Regards,
Jack
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The design pattern that your situation is suitable is MVC(Model, View, Controller). So in your case, you may want a servlet to serve as a controller over the user's mode and let that controller forward to the appropriate presentation pages like JSPs or HTMLs... MVC architecture is recommended in such situation...
BTW, r u new to J2EE technology? Just curious...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!