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 path="/recipes/**" type="com.pub.actions.RecipeDetailsAction" name="recipeDetailsForm" scope="request" validate="false"> <forward redirect="false" name="success" path="/WEB-INF/jsp/recipeDetails.jsp" /> </action> My web.xml looks like this: <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>/recipes/*/*.jsp</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> any ideas? thanks, Jennie
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.