aspose file tools*
The moose likes BEA/Weblogic and the fly likes How is page deployed in Application server and stored in database ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How is page deployed in Application server and stored in database ?" Watch "How is page deployed in Application server and stored in database ?" New topic
Author

How is page deployed in Application server and stored in database ?

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 374
We are using a content management system, which deploys HTML page from CMS to application server. Now this HTML page has content and tags. Content gets stored in database.

I dont understand how this works.

When an HTML page is deployed on app server, content of the page is stored in database. Does it mean that content is copied in database and HTML page on server remains as is ? does it mean that content is extracted from page and on the application server there is only frame of the page without any content ?

How is data stored in databse ? What is nodes in database ?

Please explain this with some generic example, in case there are many ways to do the things.

thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

nirjari patel wrote: does it mean that content is extracted from page and on the application server there is only frame of the page without any content ?


Somewhat. The content was never in the page to begin with. The exact details depend on the CMS system, but here's a simplified version. One creates a page with a tag like so:


And then in the database there is something to match the reference tag with some content:


All the DisplayContent tag does is look up "x" in the database and return the value of the content.
Of course, this can get very complex. One can have different languages or "contexts". Sometimes a parameter is passed to the JSP page to display a document and wrap it in a look and feel (header, links, footer, etc.). For example, on a web site I work on, my employer partners with different corporations, so each corporation sees only the content for their company. The JSP page is the same, the "context", and the content retrieved, changes.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How is page deployed in Application server and stored in database ?