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
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
> 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
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:
> 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
>
>
>
> 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
--- 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
7 matches
Mail list logo