cancel
Showing results for 
Search instead for 
Did you mean: 

how you receive the URL from the webbrowser

Former Member
0 Kudos

Hi,

i want to receive the URL that i type in the address field of the internet explorer to my java program without a proxy server.

for eg: in IE address field if i give http://www.google.com i have to get this URL in my program

Thanx in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi CoolGuy

Assuming that you are working on JSPs or Servlets to achieve this , try checking up the HttpServletRequest api

and the methods getRequestURL() and getRequestURI()

Regards

Pran