Pessoal,
Criei uma classe (dataBR.class).
Coloquei dentro da pasta lib dentro jsdk1.2.2
Se eu utilizar esta classe, em um programa normal, o compilador encontra a
classe, e o programa eh compilado normalmente. Isto sem ter que dar um import.
Agora estou tentando utilizar esta classe em uma pagina jsp e nao estou
conseguindo.
Como fa�o pra importar esta classe pra q minhas paginas jsp tenham acesso a
ela?
#minha pagina abaixo:
===========================================
<html>
<head>
<title>dataBR</title>
</head>
<body bgcolor="#FF9B6A" style="font-family: Arial; font-size: 10pt">
<% dataBR dt = new dataBR(); %>
dd/mm/aaaa = <%=get_diaMesAno()%><p>
dd/mm = <%=get_diaMes()%><p>
/mm/ = <%=get_mes()%><p>
</body>
</html>
===========================================
#erro:
==================================
500 Internal Server Error
Error parsing JSP page /cfm/dataBR.jsp
Syntax error in source__jspPage7.java:27: Class dataBR not found.
dataBR dt = new dataBR();
^
__jspPage7.java:27: Class dataBR not found.
dataBR dt = new dataBR();
^
__jspPage7.java:30: Method get_diaMesAno() not found in class __jspPage7.
get_diaMesAno()
^
__jspPage7.java:35: Method get_diaMes() not found in class __jspPage7.
get_diaMes()
^
__jspPage7.java:40: Method get_mes() not found in class __jspPage7.
get_mes()
^
5 errors
==================================
_____________________________________________________________________________
Tamer Americo- Conselho Federal de Medicina - CFM - [EMAIL PROTECTED]
http://come.to/tamerico - [EMAIL PROTECTED] - ICQ#3221276 - Odigo#16141
"When we are young
Wandering the face of the earth
Wondering what our dreams might be worth
Learning that we're only immortal
For a limited time"
Dreamline - Rush
____________________________________________________________________________
_
* Para n�o receber mais e-mails desta lista envie um e-mail para
[[EMAIL PROTECTED]]
e no corpo do email escreva [unsubscribe <seu-email>] ou acesse
http://apoio.cits.br:8080/guest/RemoteListSummary/javabr
Veja as mensagens antigas em http://www.mail-archive.com/javabr%40cits.br/