So add the new class for AuthorProfileAction. In that class create a property for baseProfileUrl and set this to "{baseUrl}/profiles/html/myProfileView.do?userid={authorId}" and use string substitute to replace the parts. Then someone can set the property if they need to change it.