how to get query in url request in java code example Example: how to get parameters from httpservletrequest request.getParameter("username");