This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Question for Sue: Action Configuration Class

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sue
How do I use the action configuration class?
I have an action with the following setup:

what should the implement/extend for this to work, and how do I access it from my .
The question can be extended to the ActionForm etc..
Hope you can help me with this question.
Regards,
S�ren Berg Glasius
(Denmark)
[ May 28, 2003: Message edited by: Thomas Paul ]
 
Author
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi S�ren. Couple of things here...I think you are confusing the <action-mappings> and the <form-beans> definitions in the struts-config.xml file. The action class can extend the org.apache.struts.action.Action class, or you can create a base class like I do in the sample application with the book. Your action forms extends the struts ActionForm class, or you can use the DynaActionForm class. There are 3 chapters in the book, creating and building actions, creating and building ActionForms, and configuring Struts that you help explain all the details for you.
Sue
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sue.
Thanks for the quick answer. I think we might have misunderstood each other (perhaps due to the fact, that English is not my native tounge).
What I would like to know is, when I use the

what class should implement the setPropA(String value) methode? Is it a configuration class og is it the Action itself?
Regards,
S�ren
 
That feels good. Thanks. Here's a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!