define tag usage within message tag

2002-02-12 Thread David Larson
any idea why this works??? struts_bean:define id=shippingOptionKey name=order property=shippingOption.webMessageResourceKey / % String key=retail.shippingOption. + shippingOptionKey.toString(); % struts_bean:message key=%=key% / but this does not (tried several variations of this)?

RE: Controller and security

2002-02-08 Thread David Larson
extend the controlling servlet, like... public class YourCustomServlet extends org.apache.struts.action.ActionServlet { ...then override those methods you desire to customize the response on. You'll need to update the Web.xml file to initialize your customized controller instead of the default

RE: Anyway to pass a parameter with the struts-config.xml file to an action?

2002-01-30 Thread David Larson
per the ActionMapping api... Additional properties can be added by a subclass, simply by providing appropriate public getter and setter methods. you can use (for example)... set-property property=foo value=test / ...as long as the subclass has getFoo/setFoo methods defined, you tell struts to

RE: How to do an outcall but return to the session?

2002-01-23 Thread David Larson
Assuming that your dependent upon data that you've put in the session... The problem I see you having here is that the request to the external service could take longer than the session timeout on your application server. Unless you can guarantee that the turn-around time is going to be some

struts-config 'set-property' element

2002-01-18 Thread David Larson
What is the purpose of set-property? set-property property=foo value=test / I can't get the information in actionmapping and can't get more information in javadoc in apache.org. How can i get the set-property information ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

using mapping vs. paramater to assist in Action logic

2002-01-14 Thread David Larson
I'm trying to figure out when it is appropriate to use one approach vs. another. I've read in some struts resources that... The mapping is passed to the validate() and reset() methods, and can be used to determine which set of properties to validate or reset. and then also... A good way to

forward action - basic understanding

2001-11-03 Thread David Larson
I've seen examples where both... return mapping.findForward(success); and return new ActionForward(mapping.getInput()); ...redirect to the same location (and the new ActionForward appears to always be used under user error type situations). What's the difference between these two (in re: to