I tend to write at least moderately happy endings, most of the time. Which means either my characters get some of what they want, or they figure out they don't want what they thought they want, and go after that.
Of course, that's at the end of the story. I'm a firm believer that plot happens when you figure out what a character wants and make sure there's some obstacle in the way of this.