aspose file tools*
The moose likes Servlets and the fly likes how to display daabase data in jsp as soon as application is deployed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to display daabase data in jsp as soon as application is deployed?" Watch "how to display daabase data in jsp as soon as application is deployed?" New topic
Author

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

Baazi Reddy
Greenhorn

Joined: Jun 28, 2012
Posts: 11
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

Joined: Jul 23, 2008
Posts: 296

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

Joined: Jan 10, 2002
Posts: 61662
    
  67

You cannot display anything in a browser until a request has been made from a browser.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: how to display daabase data in jsp as soon as application is deployed?