• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

List items in struts

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!