Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@RequestMapping(POST_URL)
public String showPost(RequestParts parts) {
if (!parts.hasParts()) {
// show general page
}
else {
// Show specific page (parts.get(0))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment