Pessoal,
 
Estou com o seguinte problema:
No m�todo makeBean do servlet (FetchEmployeeServlet) existe um comando para cria��o do bean e depois a chamadas de v�rios m�todos do mesmo, como pode ser visto abaixo:
 
  EmployeeBean bean= new EmployeeBean();
  bean.setCod(results.getInt("cod"));
  bean.setFirstName(results.getString("fname"));
  bean.setLastName(results.getString("lname"));
  bean.setEmail(results.getString("email"));
  bean.setDepartament(results.getString("departament"));
  bean.setImage(results.getString("image"));
 
Acontece que este bean n�o est� sendo criado e n�o estou entendendo qual o motivo do erro.
 
Se algu�m puder me ajudar ficaria muito grato.
 
Segue em anexo os arquivos deste projeto de teste.
Estou utilizando jdk1.3.1, tomcat 3.2.3 e Cach� com a tabela PEOPLE mapeada relacionalmente.
 
campos da table PEOPLE
 
COD, Integer, required
LNAME, String(MAXLEN="80")
FNAME, String(MAXLEN="80")
DEPARTAMENT, String(MAXLEN="80"),
EMAIL, String(MAXLEN="80")
IMAGE, String(MAXLEN="80")
 
Marcus Augusto

Attachment: employee.jsp
Description: Binary data

Attachment: list.jsp
Description: Binary data

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

<web-app>
    <servlet>
        <servlet-name>
            FetchEmployeeServlet
        </servlet-name>
        <servlet-class>
            FetchEmployeeServlet
        </servlet-class>
    </servlet>
    <servlet-mapping>
    	<url-pattern>/FetchEmployeeServlet</url-pattern>
    	<servlet-name>FetchEmployeeServlet</servlet-name>
    </servlet-mapping>
</web-app>

Attachment: FetchEmployeeServlet.java
Description: java/

Attachment: EmployeeBean.java
Description: java/

Attachment: FetchEmployeeServlet.class
Description: java/

Attachment: EmployeeBean.class
Description: java/

---------------------------------------------------------------------
Para cancelar a subscri��o, envie mensagem para: 
[EMAIL PROTECTED]
Para comandos adicionais, envie mensagem para: [EMAIL PROTECTED]

Responder a