Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String[] parts = UrlUtils.breakUri(req.getRemoteUri(), URL_POST);
- if (parts == null) {
- // Do code to show an archive or whatever you want when the * part is missing
- }
- else {
- // parts[0] will have what you want.
- }
Add Comment
Please, Sign In to add comment