Re: Mapping a jsp to an action

2007-09-29 Thread Mark McLaren
September 2007 12:02 To: Struts Users Mailing List Subject: Re: Mapping a jsp to an action Hi Jennie, I am fairly new to Struts 2 but you can certainly do action wildcard mappings with it, such as: action name=* result/{1}.jsp/result /action where foo.action would map to foo.jsp. However, my

Mapping a jsp to an action

2007-09-28 Thread Jennie Moeller
Hi, I'm trying to map a jsp page to an action. When any jsp gets loaded with the recipe path on it I want it to go to an action. for example: This uri: recipes/4735/steak-with-barbecue-sauce.jsp I want it to hit my recipeDetails action My struts action looks like this: action

RE: Mapping a jsp to an action

2007-09-28 Thread Jennie Moeller
Thank much Mark, I talked with a colleague and we're going to give the urlrewrite a try. Thanks! -Original Message- From: Mark McLaren [mailto:[EMAIL PROTECTED] Sent: 28 September 2007 12:02 To: Struts Users Mailing List Subject: Re: Mapping a jsp to an action Hi Jennie, I am fairly

Re: Mapping a jsp to an action

2007-09-28 Thread Mark McLaren
Hi Jennie, I am fairly new to Struts 2 but you can certainly do action wildcard mappings with it, such as: action name=* result/{1}.jsp/result /action where foo.action would map to foo.jsp. However, my guess is that what you are asking for is a little bit more advanced (and judging by the

Re: Mapping a jsp to an action

2007-09-28 Thread Zarar Siddiqi
going to give the urlrewrite a try. Thanks! -Original Message- From: Mark McLaren [mailto:[EMAIL PROTECTED] Sent: 28 September 2007 12:02 To: Struts Users Mailing List Subject: Re: Mapping a jsp to an action Hi Jennie, I am fairly new to Struts 2 but you can certainly do action