如何在uml中表达jsp和servlet
2007-10-14 21:05
253 查看
http://www.jguru.com/faq/view.jsp?EID=334159
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
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
相关文章推荐
- IT忍者神龟之servlet_jsp_tomcat_jdk 版本对应关系及如何查看jsp和servlet版本信息
- 如何在servlet中获取jsp中form表单提交的变量,以及jsp与servlet之间的数据传递
- 如何打开JSP文件/JS和JSP的区别/Servlet的本质是什么,是如何工作的?
- 如何查看Servlet、JSP的版本(Tomcat V7.0.70)
- servlet中如何的到像jsp中的九个内置对象呢
- 如何在servlet中获取jsp中的内置对象
- 如何使用VISIO中的UML图来表达C++语言中抽象类或抽象方法
- 如何tomcat下配置jsp、servlet.JavaBean.数据库连接池.虚拟目录
- 【Head First Servlets and JSP】笔记7:如何创建一个全局的dog?
- JSP如何在servlet将一个数据模型对象传递给jsp页面
- request和response对象(疑问:为什么servlet和jsp中可以直接使用req和res对象?如何理解内置的含义?)
- java web开发中,如何查看JSP和Servlet版本
- 004-JSP和Servlet之间如何交换数据
- 从servlet中获取的ResultSet结果集如何传递到jsp页面并显示
- 如何解决JSP页面顶端报错 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- JSP中(servlet)如何使用定时作业Quartz框架
- 如何用jsp界面与servlet带验证码的登录
- 后台如何向前端传递JSON数据(Servlet传向jsp页面)
- jsp学习--如何定位错误和JSP和Servlet的比较
- 如何在加载JSP页面时,同时调用servlet中的方法