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)?
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
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
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
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
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
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
7 matches
Mail list logo