Acceptance With Displeasure. It's possible that your boss won't take immediate action like the reaction above__but will make it clear that he or she isn't exactly happy about your resignation. Maybe, for example, she'll mutter a curt, "Thank you for letting me know," followed by two weeks of obvious displeasure or denial that you're leaving__through gruff comments ("You know, you're really leaving us in the lurch") or a refusal to interact with you more than absolutely necessary.
The Hand_off. Finally, state your willingness to help out with the transition. You don't need to go into great detail (and definitely don't promise anything you can't deliver), but a couple of lines stating that you'll ensure a smooth wrap_up of your duties will show that you're in the game until the very end. Obviously, feel free to adjust this a bit based on your experience and your company culture, then submit it via the typical procedures at your company.