Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display daabase data in jsp as soon as application is deployed?

 
Baazi Reddy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to display daabase data in jsp as soon as application is deployed


Iam working on this using Listener class concept but unable to get it , can anyone help me...........
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bazzi,

Can you please let us know what are you trying to achieve.? for your questiont try implementin Servletcontextlistener which will listen the event of context intialization.
But i would like to know what you trying to accomplish?

http://www.javabeat.net/2009/02/servletcontextlistener-example/ example for servlet context.
Regards
Jatan
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65220
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot display anything in a browser until a request has been made from a browser.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic