• 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

List items in struts

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I have struts application on Weblogic 8,Win XP.

I have a form which has few text fields. Information can be filled out in this form and submitted. After successful submit it should show up on the page as added record.

Now I have Java beans,DAOs for information retrievel from Database.

As I go adding items I want to see them on the page , How do I do this in struts ? Can you do this in struts ? Do you have to create diffrent ActionForm for this ??

I hope I am making my question easy to understand.

Thanks
-Anand.
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess you can put the data source retrieval codes inside the action as well. Thus, you can put the results into JavaBean and then put it in to the correct scope.

Make sure that you have configured the data source, as well as the JNDI name correctly in WL.

Nick
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic