in the explanation Request URI is given as following:
Request URI = protocol://host:port + contextpath + requestpath + pathinfo
Section 3.5 of servlet 3.0 specs say following:
requestURI = contextPath + servletPath + pathInfo
also i tried printing the output of getRequestURI() and getRequestURL() and indeed request uri does not include the protocol and port etc.
About Question enthuware.jwpv6.2.1005 :
Moderators: Site Manager, fjwalraven
-
- Posts: 55
- Joined: Thu Jan 03, 2013 7:51 am
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1005 :
You are right. It is actually Request URL.
This has now been updated.
Thank you for your feedback!
This has now been updated.
Thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 6 guests