• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flow of data from Init Servlet to jsp

 
chets patel
Ranch Hand
Posts: 77
Eclipse IDE Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one application in which there is InitServlet load on startup. This init servlet will load some data from database. this data I want to show on index.jsp which is start up page for any request from the user. I am using struts 2 for this application.

Where should I store the data which is read from database as there is no request object in initservlet. also how should I show this data in index.jsp

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic