Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting URL from request object

Status
Not open for further replies.

bjanssen

Programmer
Mar 11, 2001
10
AU
Hi,
I was wondering how to get the entire url from the request. I have been using request.getServletPath() and getQueryString(), but that only gets me so much as the path after the domain name. How can I get the domain name as well?
Thanks in anticipation.
 
The following should do the trick:

request.getHeader("Referer");

Good Luck
--
Scott
 
hi,
I want to retrieve the DN name from a LDAP SERVER by using java application.


Thanks in anticipation.
ditto.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top