下面是jsp文件的代码,引入了一些js文件,系统用的是spring的mvc。网页访问时,呈现的是xhtml文件。不知道哪位能解释一下这中间jsp到xhtml的机制。好像不是用的xslt。谢谢。<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="wc" uri="http://www.pointclickcare.com/core-tags" %>
<%@ taglib prefix="pho" tagdir="/WEB-INF/tags/clinic/pho" %>
<%@ include file="/care/care_imports.jspf"%>
<%@ include file="/care/care_constants.jspf"%>
<%@ include file="/tools/validate.jspf"%>
<!doctype>
<html>
<head>
<%@ include file="/tools/setheader.jspf"%>
<title>Order Entry</title>
<script src="/scripts/jquery.autocomplete-1.1.3-min.js"></script>
<script src="/scripts/clinic/orderentry.js"></script>
<script src="/scripts/authentication.js"></script>
<script src="/scripts/clinic/orderUpdateConfirmationPopup.js"></script>
<script src="/scripts/components/date/date.js"></script>
<link type="text/css" rel="stylesheet" href="/styles/authentication.css"/>
<link type="text/css" rel="stylesheet" href="/styles/clinic/ordUpdateConfirmationPopup.css"/>
<link type="text/css" rel="stylesheet" href="/styles/autocomplete.css"/>
<link type="text/css" rel="stylesheet" href="/styles/clinic/enhancedOrderEntry.css"/>
<% pageContext.setAttribute("termClient",TERM_CLIENT); %>
<script type="text/javascript">
</script>
</head>
<body>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="wc" uri="http://www.pointclickcare.com/core-tags" %>
<%@ taglib prefix="pho" tagdir="/WEB-INF/tags/clinic/pho" %>
<%@ include file="/care/care_imports.jspf"%>
<%@ include file="/care/care_constants.jspf"%>
<%@ include file="/tools/validate.jspf"%>
<!doctype>
<html>
<head>
<%@ include file="/tools/setheader.jspf"%>
<title>Order Entry</title>
<script src="/scripts/jquery.autocomplete-1.1.3-min.js"></script>
<script src="/scripts/clinic/orderentry.js"></script>
<script src="/scripts/authentication.js"></script>
<script src="/scripts/clinic/orderUpdateConfirmationPopup.js"></script>
<script src="/scripts/components/date/date.js"></script>
<link type="text/css" rel="stylesheet" href="/styles/authentication.css"/>
<link type="text/css" rel="stylesheet" href="/styles/clinic/ordUpdateConfirmationPopup.css"/>
<link type="text/css" rel="stylesheet" href="/styles/autocomplete.css"/>
<link type="text/css" rel="stylesheet" href="/styles/clinic/enhancedOrderEntry.css"/>
<% pageContext.setAttribute("termClient",TERM_CLIENT); %>
<script type="text/javascript">
</script>
</head>
<body>
@RequestMapping(value="/nihao.html"),这句话是拦截/nihao.html的请求,然后controller再去返回一个jsp也面!