This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Strurs2 example to fetch the data from database and display it on a JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Strurs2 example to fetch the data from database and display it on a JSP page" Watch "Strurs2 example to fetch the data from database and display it on a JSP page" New topic
Author

Strurs2 example to fetch the data from database and display it on a JSP page

Mahabaleshwar Bhat
Greenhorn

Joined: Mar 23, 2011
Posts: 1
Hi,

I am very new to struts2. Can anyone please give me an exaple on how to fetch the data from the databse, how to store those values in an arralyist and display the results in JSP page. Please give me sample code.

Thanks in advance.

-Mahabalesh
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

in action

In JSP


for struts2 examples :http://www.vaannila.com/struts-2/struts-2-tutorial/struts-2-tutorial.html
struts2 tag : http://struts.apache.org/2.0.14/docs/tag-reference.html
 
wood burning stoves
 
subject: Strurs2 example to fetch the data from database and display it on a JSP page
 
Similar Threads
javascript pagination
Problem in Displaying JSP page
processing sql queries from JSP
pagination in jsp
JSP and JSPF