• Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading JSPs on Application server startup

 
S Babs
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want JSPs to get compiled, translate into servlet and load on start up of the application server.
How i can achieve this.
thanks in advance
 
Chris Baron
Ranch Hand
Posts: 1061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add this to your web.xml for each jsp to be preloaded:

Don't know if there's something to precompile your whole app.
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is dynamic date in the jsp can we do the same way
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please elaborate more?
Originally posted by sunitha raghu:
If there is dynamic date in the jsp can we do the same way
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
typo....
dynamic data
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!