Multiple actions with overlapping URL ranges

2007-08-11 Thread peterv
Hi, Is there a way in Struts 2 to make the action mapper choose the Action to be invoked based on two criteria: 1) the action's name (eg. a wildcard mapping), and 2) a boolean value obtained by invoking a method in the action? Why I need this: I want to create friendly URLs for several types of

Linking to wildcard URLs

2007-08-05 Thread peterv
Hi, Is there a way to make the tag generate 'nice' URLs linking to actions with wildcards in their names? For example, let's take the following mapping using DefaultActionMapper: < param name="galleryID">{1} /pages/galleries/GalleryViewer.jsp