Best approach for learning Java for web development as a programmer
I am looking to learn Java for the purpose of web development. I am a talented programmer with background in windows programming, C# and PHP. I don't need to be explained OOP or anything I would consider to be basic programming knowledge. I'm not sure if I should start at the command line and learn the whole language or if I can jump in head first into web development and learn that way.
Just figured I'd ask around in case someone could suggest me the right book or something