File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Flow of data from Init Servlet to jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Flow of data from Init Servlet to jsp" Watch "Flow of data from Init Servlet to jsp" New topic
Author

Flow of data from Init Servlet to jsp

chets patel
Ranch Hand

Joined: Apr 27, 2010
Posts: 74

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Flow of data from Init Servlet to jsp