This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes update page content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "update page content" Watch "update page content" New topic
Author

update page content

deep rai
Ranch Hand

Joined: Oct 04, 2007
Posts: 56
what are the methods to update the jsp page content.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

A text editor?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
deep rai
Ranch Hand

Joined: Oct 04, 2007
Posts: 56
i wanted to know how to update a web page content on a day to day basis, what are the different options.
[ April 19, 2008: Message edited by: deep rai ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Well, if the content is coming from a database, any updates to the content will be reflected.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
What is the source of the new content you want to show?

Bill
deep rai
Ranch Hand

Joined: Oct 04, 2007
Posts: 56
content would come from a word document and database.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
I suggest that you work out a free-standing (NOT a servlet) application to create your complete jsp page file by combining a template with data drawn from the various sources.

Once you have that working, figure out how to execute the application whenever a new page is needed.

You might look at the open source Velocity template engine for ideas.

Bill
deep rai
Ranch Hand

Joined: Oct 04, 2007
Posts: 56
thank you William
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: update page content
 
Similar Threads
NEW SCEA Mock Test Available!!
difference between include directive &action tag
How to pass javascript variable from one jsp to other
screen refresh
getting value of request bean into other