This week's book giveaways are in the Cloud/Virtualization and Go forums.
We're giving away four copies each of Cloud Native Transformation: Practical Patterns for Innovation and The Go Workshop and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native Transformation: Practical Patterns for InnovationE this week in the Cloud/Virtualization forum
or The Go Workshop in the Go 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Joe Ess
  • salvin francis

problem in getting data from request

Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the following setup
I have Action class (PL1079DispatchAction) which
populates a DynaValidatorForm (PL1820DeleteForm)and
puts it in the request, and forwards to a jsp, this
jsp has a bean defined with request scope with the
same form which was set in Action class
(PL1079DispatchAction) so i get the values set in
DynaValidatorForm in my jsp, and then from this jsp i
submit to another Action class (PL1820DeleteAction),
and in this Action class (PL1820DeleteAction) i want
the DynaValidatorForm(PL1820DeleteForm) set in my
first Action class (PL1079DispatchAction) in request,
But in the second Action class(PL1820DeleteAction) i
dont get the values set in request in my first Action
What wrong am i doing???
here are my definiations of in struts-config xml
<!-- form bean for mapsForm -->
<form-bean name="mapsForm"
<form-property name="nextpage"
type="java.lang.String" />
<form-property name="goto"
type="java.lang.String" />
<form-property name="select"
type="java.lang.String[]" />
<!-- form bean for Pl1820Delete -->
<form-bean name="PL1820DeleteForm"
<form-property name="input1"
type="java.util.ArrayList" />
<action name="mapsForm"
parameter="nextpage" scope="request"
<forward name="add"
path="/pages/planning/PL1079Add.jsp" />
<forward name="change"
path="/pages/planning/PL1079Change.jsp" />
<forward name="delete"
path="/pages/planning/PL1079Delete.jsp" />
<forward name="home"
path="/pages/planning/PL1079Display.jsp" />
<!-- action mapping for Pl1820Delete-->
<action name="PL1820DeleteForm"
validate="false" input="/pages/sop/PL1820Delete.jsp"
scope="request" path="/pages/sop/PL1820Delete">
<forward name="success"
You can thank my dental hygienist for my untimely aliveness. So tiny:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!