Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!