Hi. For the record and the archives, it helps if your Ant script is actually copying struts-config.xml over to your deployment directory. The <set-property... /> element does, in fact, work exactly as advertised.
-= J > -----Original Message----- > From: James Childers [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 12:51 PM > To: Struts Users Mailing List > Subject: <set-property... /> in action mapping: working? > > Hi all, > > We are attempting to use the set-property element of an > action mapping definition to provide for some custom > functionality, but this doesn't seem to be working as > advertised. We used this succesfully in a 1.0 app, but now > that we are using 1.1 things don't appear to be working. > > struts-config: > > <action path="/golfswitchbooking/" > type="com.hotels.control.GolfSwitchBookingController" > name="golfSwitchBookingRequest" > validate="false" > input="/golfswitch/bookingform.jsp" > scope="request" > > <set-property property="oas" value="true" /> > </action> > > Our custom ActionMapping extends from the appropriate class, > and has a setOas(boolean b) and isOas() method; the setSecure > method doesn't appear to ever be called, either on app > startup or when the mapping is requested for the first time. > Everything BUT the <set-parameter.../> element is working just fine. > > Is this still supported in Struts 1.1? The DTD says it is, > but I haven't been able to get it to work as yet, and in fact > the documentation turns up very little on this. Is this > perhaps unsupported? > > -= J > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]