helloworld1.jsp
来自「Java Pattern Oriented Framework (Jt) 是为了」· JSP 代码 · 共 40 行
JSP
40 行
<html>
<!--
-->
<%@ page session="false"%>
<%@ page import="Jt.*" %>
<body bgcolor="white">
<!-- HelloWorld.jsp - Example of JSP support -->
<!- Create an instance of HelloWorld -->
<%
JtFactory main = new JtFactory (); // Create the factory class
// Create the instance of the Jt objects
JtObject helloWorld = (JtObject) main.createObject ("Jt.examples.HelloWorld", "helloWorld");
Object jtReply = main.sendMessage (helloWorld, new JtMessage ("JtHELLO"));
%>
<!-- Send a message to the object and print the reply -->
<%= jtReply %>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?