Um...
Are you complaining about WW or not? I just realised: Fighting on soil which is 100% yours contributes to 0 WW on your behalf. You can fight against the entire world, lose all your army, and kill all of thier armies, but if it is on home soil, the people will realize it is for there very survival, and thus not complain. So to defend against WW before Jails etc., simply fight on your own turf. (If it is owned by 90% you, and 10% someone else, then you get around 10% of the WW)
However, if you fight on enemy ground, WW stacks up reasonably quickly. Losing your unit on foriegn soil in an attack gives +3 WW. Killing a unit on foriegn soil in an attack (IE. you win an attack) gives you +1 WW (IE. Killing units INCREASES War Weariness). Defending gives you +2 WW regardless of winning or losing. I think razing or capturing a city gives something like +10WW, and nukes give +5 WW if you launch the nuke, and +20 if you defend. The non-combat WW values are approximate. But in general, if you bring the fight to them, you WILL be hit with WW.
And WW keeps on. Although it slowly disappears over times of peace, it never disappears completely. It isn't realistic to commit horrible atrocities against human decency and human rights, settle peace for 5 years, and start it up again and expect your people to be all good with the same war...
There are techniques to manage WW. Civ IV is a managerial game, and if you are not willing to manage your empire, balancing it's needs and wants effectively, then play another game! But that is the beauty of Civ IV: You have to balance when to fight and when to defend, what civics to choose, how and where to build your cities... AND takes all these things and adds more! That is why I like it so much

Is sacrificing national stability worth the reduction in WW? Do I attack and end the war, or defend and win a war of attrition due to their WW? Should I build a stronger military now, or focus on building up infrastructure? What type of economy do I want to follow? The only place where you don't manage your empire is on the battlefield (which is why I am looking forward to Civ V's One-unit-per-tile thing. Pity that Civ IV won't likely be balanced for it

)