Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mahabaleshwar Bhat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic