Dave, How do we use the action-alias XML approach if we've the same alias but different methods on the same action ?
ex : <action name="abc" class="com.mysite.myAction" /> say myAction has methodA(), methodB() etc. which are invoked using different submit buttons in the jsp <s:submit value="button1" method="methodA"/> <s:submit value="button1" method="methodB"/> In this case, we could have myAction-abc-validation.xml , but how will it differentiate b/n methodA and methodB? i tried myAction-methodA-validation.xml ; but it didn't seem to work. Thanks, Joseph On 8/15/07, Dave Newton <[EMAIL PROTECTED]> wrote: > --- j alex <[EMAIL PROTECTED]> wrote: > > ex : if an Action has multiple methods and only > > certain fields are tied to each method, we can > > bunch together validations for each method > > using annotations, but this is not possible using > > XML > > You can create validation XML files on an action-alias > basis. > > d. > > > > > ____________________________________________________________________________________ > Got a little couch potato? > Check out fun summer activities for kids. > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > > --------------------------------------------------------------------- > 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]