wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 73

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
 
Similar Threads
TomCat refuse to execute init(), but WebLogic could!
Get parameter from web.xml file
Application Scope or Static Methods
Web editable table
How to make MVC controller servlet the "default page"