java - "request" in " request.getRequestURI();" -


i trying print browser url using java. have come across codes have used "request.getrequesturi();" retrieve url. "request" in "request.getrequesturi();" ? how define it? can example of code "request" defined?

it httpservletrequest object.

see: http://docs.oracle.com/javaee/6/api/javax/servlet/http/httpservletrequest.html.

normally passed in method on controller.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -