| JOnAS v2.4 Tutorial | ||
|---|---|---|
| <<< Previous | Accessing beans from a JSP | Next >>> |
There is no specific issue to access a bean from a JSP with JOnAS. 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 | Next >>> |
| Accessing beans from a JSP | Up | The Alarm application |