⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helloworld.jsp

📁 Java Pattern Oriented Framework (Jt) 是为了实现Java快速开发的面向模式的框架。
💻 JSP
字号:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ page import="Jt.*" %>
<%@ page import="Jt.examples.*" %>



<html>



<body bgcolor="white">



<!-- HelloWorld.jsp - Example of JSP support -->


<!-- Create the Jt factory  -->

<jsp:useBean id='factory' class='Jt.JtFactory' scope='request'/>


<!-- The resource file Jt.properties should be placed -->
<!-- under /WEB-INF/class -->


<!- Create an instance of HelloWorld -->

<% JtInterface helloWorld = (JtInterface) factory.createObject (HelloWorld.JtCLASS_NAME); %>



<!-- Implement the business logic  -->

<%  Object jtReply = factory.sendMessage (helloWorld, new JtMessage (HelloWorld.JtHELLO)); %>



<!-- View the results -->


<%= jtReply %>


</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -