• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic