You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Aynalem, Seblewengel (Trawick)" <Se...@USPTO.GOV> on 2006/10/10 17:52:08 UTC

Java Bean Method Call Don't Work... Please Help!

I am using tomcat 5.5.17, jdk 1.5 & jre 1.5.  I have the following jsp page that displays the text - Welcome, and XXXX - without the output of the java bean method call.  The function is working fine... I can see the output on Tomcat console.  But I could not see it on the browser.   Is there any library I should include in my WEB-INF/lib directory.  

Any help or hint is highly appreciated.  

Thank you,

Seble.

 
<!DOCTYPE HTML PUBLIC "-//W3//DTD HTML 4.0 Transitional //EN">
<html>
<head>
<title>
ISO Tracking System
</title>
<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.*" %>
<jsp:useBean id="sessionBean" scope="session" class="ISOTracking.SessionBean" />

<table class="displaytablestyle">
	
	<tr><td align=center>Welcome, <%= sessionBean.getFname() %> <%= sessionBean.getLname() %>!</td></tr>
	
	<tr><td>XXX</td></tr>	
	
	<tr><td></td></tr>

</table>
</body>
</html>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Java Bean Method Call Don't Work... Please Help!

Posted by Martin Gainty <mg...@hotmail.com>.
we need to see the code for SessionBean..

M-
This e-mail communication and any attachments may contain confidential and privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its 
contents

----- Original Message ----- 
From: "Aynalem, Seblewengel (Trawick)" <Se...@USPTO.GOV>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Tuesday, October 10, 2006 11:52 AM
Subject: Java Bean Method Call Don't Work... Please Help!



I am using tomcat 5.5.17, jdk 1.5 & jre 1.5.  I have the following jsp page that displays the text - Welcome, and XXXX - without the output of the java bean method call.  The function is working fine... I can see the output on Tomcat console.  But I could not see it on the browser.   Is there any library I should include in my WEB-INF/lib directory.  

Any help or hint is highly appreciated.  

Thank you,

Seble.

 
<!DOCTYPE HTML PUBLIC "-//W3//DTD HTML 4.0 Transitional //EN">
<html>
<head>
<title>
ISO Tracking System
</title>
<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.*" %>
<jsp:useBean id="sessionBean" scope="session" class="ISOTracking.SessionBean" />

<table class="displaytablestyle">

<tr><td align=center>Welcome, <%= sessionBean.getFname() %> <%= sessionBean.getLname() %>!</td></tr>

<tr><td>XXX</td></tr> 

<tr><td></td></tr>

</table>
</body>
</html>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org