You can specify the redirect destination dynamically from your controller by calling ControllerCtx.setModel(). Take a look at the javadocs for RedirectViewFactory.
Jeff > -----Original Message----- > From: James A. Hillyerd [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 06, 2004 4:56 PM > To: [EMAIL PROTECTED] > Subject: [Mav-user] Redirect within context? > > First off: Hi. I'm just getting started with Mav, and am really liking > what I see so far. I've been using struts for a couple years now, and > really don't enjoy all the hoops it makes me jump through. > > I'm looking for a way to do redirects within my application's context. > I am using redirects in certain places where I want the user to have the > correct URL for the page (so they can bookmark it or hit reload). > Redirecting to "command.m" seems to work, until I have a command name > with a / in it, which I am kinda used to doing in struts to group > related commands/actions. > > Is there a better method? I'd rather not hard code the context name > into my maverick.xml file. > > Thanks. > > -james > > -- > James A. Hillyerd <[EMAIL PROTECTED]> > Java Software Engineer - ActiveRain.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > [INVALID FOOTER] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click [INVALID FOOTER]