http://www.jguru.com/faq/view.jsp?EID=334159
Answer
Answer
As such, there are no specific notations for Servlets and JSPs in standard UML. But you can create the sterotypes for these elements. For example have <<HttpServlet>> as the sterotype and let your specific servlet classes extend this sterotype.
Though JSP becomes a servlet after compilation, it does not have the standard base class because it depends on the container vendor implementation. So instead of having any specific vendor class as sterotype, hava plain <<JSP>> as your sterotype.
You can refer the related question: Web components and UML