*Do both have the same meaning?
No, they don't have the same meaning. Assertive is someone who likes to be in charge and feels comfortable taking control, sometimes to the detriment (negative feelings) of the others who are being told what to do.
Aggressive is someone who has anger problems