This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Calling webpages from a servlet

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this must be really easy to do but I may be overcomplicating this/confusing myself.

I basically have a servlet, which needs to call n number of web pages (in order for these pages to render themselves (and cache server-side)).

I do not need these pages that I have called to be shown/rendered for any one. The process is simply one of calling the pages to force the serverside cacheing.

Whats the best way of doing this from a servlet point of view?

Cheers.
[ March 10, 2006: Message edited by: Sebastian Patten ]
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to use RequestDispatcher.include
 
Bob Burnquist
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh and thinking about it further, I guess this doesnt need to essentially be a Servlet, as this will be an automated task called by cron.

Hmmm.

Ill have a look at the requestdispatched cheers.
[ March 10, 2006: Message edited by: Sebastian Patten ]
 
    Bookmark Topic Watch Topic
  • New Topic