The judgment for the plaintiff shall be that he recover the possession of the premises, according to the verdict of the jury, if there be a verdict; or if the judgment be by default, or on demurrer, according to the description thereof in the declaration. If the action be brought to recover dower which has not been assigned before the commencement of such action, the court in which the judgment is rendered may have dower assigned by commissioners appointed for that purpose. If the action be against several defendants, and it appear on the trial that any of them occupy distinct parcels, in severalty or jointly, the plaintiff may recover several judgments against them for the parcels so held by one or more of the defendants separately from others. The plaintiff may recover any specific or any undivided part or share of the premises, though it be less than he claimed in the declaration.