Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2: REST URLs with Convention plug in - passing params through the URL

David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am having problems passing parameters to my actions and really I don't know if what I am doing is correct as the documentation is not to clear.

I have an action class with a method

And I can call that OK with

But I want to pass a parameter to it like this

But it looks for a France action, is there anyway to mark the France part as a parameter that can be passed into the above method. I really don't want to have a query string.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic