Re: tomcat only executes certain beans

2001-02-12 Thread William Brogden



Trish wrote:
> 
> i have installed tomcat 3.1.1 on SPARC/Solaris 7 platform. everything is
> working fine except that the application i am trying to run/test gives an
> error:
> 
> org.apache.jasper.JasperException: Cannot find any information on property
> 'UserId' in a bean of type 'com.ppd.beans.CrfUser'

I suspect you are encountering the convention that expects the property
name
to start with a lower case letter. Try renaming it userId.

-- 
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




tomcat only executes certain beans

2001-02-12 Thread Trish

i have installed tomcat 3.1.1 on SPARC/Solaris 7 platform. everything is
working fine except that the application i am trying to run/test gives an
error:

org.apache.jasper.JasperException: Cannot find any information on property
'UserId' in a bean of type 'com.ppd.beans.CrfUser'

CrfUser is a bean which is in a .jar file in my webapps/myapp/WEB-INF/lib
folder. The app is using other beans however in that .jar file fine so the
location or .jar file is not the problem.

Also the same app works on NT/Windows 2000 with JRUN 3.0 so i know the .jsp
pages and beans are working fine which leads me to this this is a tomcat
issue. The heading of the .jsp page which calls the CrfUser bean and errors
out is:

<%@ page language="java"%>
<%@ page import="java.sql.*" %>


<%@ include file = "../lib/i_common.jsp" %>
<%@ include file = "../lib/i_constants.jsp" %>
<%@ page errorPage="errorpage.jsp" %>
.
.
request for sUserId
.
.
.



the DocumentumUtility bean is working fine. also i was wondering if there
are any tomcat issues with the way the import and includes are done. i
presently have a war directory structure set up if anyone has any insight i
would appreciate the help.

thanks, Trish


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]