Java Bean Method Call don't work?
I am using Tomcat 5.5.17, jdk 1.5 and jre 1.5. The problem I am having is...JavaBean method call don't work. The method getFname() and getLname() is called in main.jsp as shown below. But I don't see the names displayed on the browser.
main.jsp
<!DOCTYPE HTML PUBLIC "-//W3//DTD HTML 4.0 Transitional //EN">
<html>
<head>
<LINK REL="stylesheet" TYPE="text/css" HREF="shared/ISOstyle.css">
</head>
<body class="bodyMain" >
<%@ page import="isotracking.*, java.sql.*, java.util.*, java.net.URLEncoder, java.text.DateFormat, java.text.SimpleDateFormat" %>
<jsp:useBean id="sessionBean" scope="session" class="isotracking.SessionBean" />
<table class="displaytablestyle">
<tr><td></td></tr>
<tr><td></td></tr>
<tr><td align=center>Welcome, <%= sessionBean.getFname() %> <%= sessionBean.getLname() %>!</td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr><td>XXX</td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
</body>
</html>
I can see the function are working fine on the Tomcat console... and I have a valid bean class - SessionBean - declared as public and has a public default constructor with no argument.
Is this something to do with a library missing? I searched the web, googled and read a number of article... but nothing works. ANY HELP IS HELHLY APPRECIATED! Thanks a lot!
Seble.

