| JOnAS Tutorial | ||
|---|---|---|
| <<< Previous | Accessing Beans From a JSP | Next >>> |
Accessing a bean from a JSP with JOnAS is very simple. Here is an example skeleton:
<html>
<head><title>Test JSP</title></head>
<body>
<jsp:useBean id="myBean" scope="page" class="myPackage.MyBean" />
<%
myBean.callBusinessMethod();
%>
<p>
</body>
</html>
|
| <<< Previous |
Home
Up | Next >>> |