Okay, I tested it out.
Yes, spears can be thrown. You need spear expertise to do it. Once you have the spear skill, you select it as your active skill, and right-clicking will throw the spear. Depending on skill level, a thrown spear will do a percentage of the melee damage. The dark side of this is that spears CANNOT be used with the warrior's whirl attack. For warriors wishing for ranged attacks, it is better to switch to a crossbow or bow, use a ranged magic attack, or, potentially, to use boomerang. Boomerang has its serious drawbacks, though, as you'll only do a small percentage of the melee damage until the skill is raised considerably.
- ELB