Re: Using the Restful2ActionMapper

2007-08-16 Thread Dale Newfield
mraible wrote: I'm trying to change from using the old-style URLs to Restful2ActionMapper. What do you want your URLs to be for the various actions? If you really just want the view to look restful, you don't need to muck with the ActionMapper at all: /user/bob.html to view bob {1

Re: Using the Restful2ActionMapper

2007-08-15 Thread mraible
I'm trying to change from using the old-style URLs to Restful2ActionMapper. Here's what I've added to struts.xml: I have a UserAction that does CRUD (below). And the following action definitions: userList.jsp userList.jsp

Re: Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
> This is most likely a bug, can you create a JIRA ticked? > > /Ian > The bug is now located here: https://issues.apache.org/struts/browse/WW-1706 Philip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Using the Restful2ActionMapper

2007-02-05 Thread Ian Roughley
This is most likely a bug, can you create a JIRA ticked? /Ian Philip Lorenz wrote: Hi, I am trying to use the Restful2ActionMapper for my project. However I have not been able to configure it correctly so far. My struts.xml looks like the following:

Re: Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
> Hi, > > I am trying to use the Restful2ActionMapper for my project. However I have > not been able to configure it correctly so far. > > My struts.xml looks like the following: > > > > > > > > > > /test.jsp > >

Re: Using the Restful2ActionMapper

2007-02-05 Thread Philip Lorenz
> > Tomorrow's task for me is trying RESTful, so hopefully > you'll figure this out ;) > > Do you need the ".action" in the URL?! > > d. You can remove the action postfix by setting struts.action.extension to an empty string. I just left it enabled to have a clean default config with only th

Re: Using the Restful2ActionMapper

2007-02-05 Thread Dave Newton
--- Philip Lorenz <[EMAIL PROTECTED]> wrote: > However mapping does not work at all. After enabling > SlashesInActionNames and accessing the URL > "/view/uploadId/5.action" I get a "There is no > Action mapped for action name uploadId/5" error. > Disabling it only leads to to an error message that