Class diagrams should only contain classes - not JSPs. And while Servlets (and JSPs) are really
Java classes, they are rarely included on class diagrams and instead are more appropriate on Component diagrams.
Worried about the number of classes on your class diagram? Don't worry about it - if your class diagram allows your solution to meet the requirements of the system, then it is complete for your specific solution. Just ensure that you are meeting all of the requirements!