Web 应用程序中的 .jspa URL 扩展名是什么?
What is .jspa URL extension in web applications?
在许多在线 Web 应用程序中,我注意到应用程序 url 以 jspa 结尾。我的假设是它是一个 jsp 并且动作被映射到 jspa 而不是 *.do.
我的理解是正确的还是有实际的extension/different意思?如果这个问题非常基础,请提出建议并忽略。我已经用谷歌搜索了,但无法得到明确的答案。
很可能就像 JavaServer Pages (JSP) 是一种 Java 标准技术,使您能够为您的 Java 编写动态的、数据驱动的页面Web 应用程序。
In many online web applications, I notice that the application url
ends with jspa. My assumption is it is a jsp and action is mapped to
jspa instead of *.do.
您的假设几乎正确。为什么我使用 almost 这个词是因为你提到它是 JSP。事实上,它可以是任何东西;不仅仅是 JSP。 URL 包含一个逻辑名称,它可以映射到一个 Servlet,JSP 或任何其他东西。 URL、http://www.sun.com/training/catalog/courses/CX-310-083.xml looks like an XML document at first sight but it is actually not. The actual content is rendered based on the Content-Type
header 即您可以看到扩展名为 .abc
的 URL,它实际上可能呈现 HTML
页面。
在许多在线 Web 应用程序中,我注意到应用程序 url 以 jspa 结尾。我的假设是它是一个 jsp 并且动作被映射到 jspa 而不是 *.do.
我的理解是正确的还是有实际的extension/different意思?如果这个问题非常基础,请提出建议并忽略。我已经用谷歌搜索了,但无法得到明确的答案。
很可能就像 JavaServer Pages (JSP) 是一种 Java 标准技术,使您能够为您的 Java 编写动态的、数据驱动的页面Web 应用程序。
In many online web applications, I notice that the application url ends with jspa. My assumption is it is a jsp and action is mapped to jspa instead of *.do.
您的假设几乎正确。为什么我使用 almost 这个词是因为你提到它是 JSP。事实上,它可以是任何东西;不仅仅是 JSP。 URL 包含一个逻辑名称,它可以映射到一个 Servlet,JSP 或任何其他东西。 URL、http://www.sun.com/training/catalog/courses/CX-310-083.xml looks like an XML document at first sight but it is actually not. The actual content is rendered based on the Content-Type
header 即您可以看到扩展名为 .abc
的 URL,它实际上可能呈现 HTML
页面。