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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Its very Urgent

Status
Not open for further replies.

linusSanto

Programmer
Jul 31, 2003
15
IN
How can i get the url of the current jsp page?
 
request.getServerName()+request.getRequestURI();
this string expression is what you are looking for I think

Salih Sipahi
Software Engineer.
City of Istanbul Turkey
s.sipahi@sahinlerholding.com.tr
 
But i am unable to get the parameters that i pass along with it

i mean servername/jspname?variable=value
i want the whole url
 
Thanks

But i want to get that in the javascript function
And i got it by request.getQueryString();

Bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top