Aug 18, 2003 #1 linusSanto Programmer Jul 31, 2003 15 IN How can i get the url of the current jsp page?
Aug 18, 2003 #2 Hattusas Programmer Nov 11, 2001 344 TR 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 Upvote 0 Downvote
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
Aug 18, 2003 Thread starter #3 linusSanto Programmer Jul 31, 2003 15 IN 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 Upvote 0 Downvote
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
Aug 18, 2003 #4 sedj Programmer Aug 6, 2002 5,610 So do a request.getParameter() also, or read the documentation on http://www.java.sun.com for HttpServletRequest class ... Upvote 0 Downvote
So do a request.getParameter() also, or read the documentation on http://www.java.sun.com for HttpServletRequest class ...
Aug 18, 2003 Thread starter #5 linusSanto Programmer Jul 31, 2003 15 IN Thanks But i want to get that in the javascript function And i got it by request.getQueryString(); Bye Upvote 0 Downvote
Thanks But i want to get that in the javascript function And i got it by request.getQueryString(); Bye