Posts the form's data and returns the resulting Page
           
        Returns
           Page - The resulting page

def submit(self):
        """ Posts the form's data and returns the resulting Page
           
        Returns
           Page - The resulting page
        """
        u = urlparse(self.url)
        
        if not self.action:
            self.action = self.url
        elif self.action == u.path:
            self.action = self.url
        else:
            if not u.netloc in self.action:
                path = "/".join(u.path.split("/")[1:-1])
                if self.action.startswith("/"):
                    path = path + self.action
                else:
                    path = path + "/" + self.action
                self.action = "http://" + u.netloc + "/" + path
            
        return self.usr.getPage(self.action, self.items, {'Referer': self.url}, self.usePin)