Re: Mapping a jsp to an action

2007-09-29 Thread Mark McLaren
action *.jsp Zarar On 9/28/07, Jennie Moeller <[EMAIL PROTECTED]> wrote: 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

Re: Mapping a jsp to an action

2007-09-28 Thread Zarar Siddiqi
rite 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

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 f

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: /{1}.jsp 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 "*.do" you are not using Struts 2).

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: