Fotiman - 4:37 pm on Nov 29, 2010 (gmt 0)
But throughout the website for any submit button, its just this simple relative path for the action.
So? There's nothing unusual about that.
this could be the path of the form processor
from where after some security validation of the request, its processed and redirected to the proper URL/web server file.
A typical form processor will validate input and do whatever it needs to do, and then may or may not redirect to another page. Redirecting can be helpful for keeping the business logic separated from the presentation layer.
I am wondering how to figure out the root path, for this relative path.
The root path is simply http://SITEADDRESS/. As I gave in my example, if the site is at example.com, then the root is:
and the URL that you listed is the equivalent of: