Diogo Del Gaudio

Greenhorn
+ Follow
since Aug 24, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Diogo Del Gaudio

guys, its done! finally!


the problem was in the driver instalation, it was in a wrong directory. thanks for all!
the right directory is:

C:\Arquivos de programas\netbeans-5.5.1\enterprise3\apache-tomcat-5.5.17\common\lib

its for who uses netbeans
16 years ago
yeah, is that line. the string isnt null :S i'm getting the parameters of the jsp with getParameter(). and inputing a sql string with this code:




its in another class.
16 years ago
thanks for the tips, pete... i'm sorry about the previous post, i was really desperate.
i guess i founded where is the error, the error happens in my connection pool, because he returns a null pointer exception on the method getconexao, where happens the connection with the DataBase... i alredy saw my Context.xml and my Access class, but it looks fine. :S i'm starting to think that the problem is in my DB(MySql) config.

the Acesso Class :



my Context.xml:



and... the error :

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NullPointerException
br.com.ag7.ImpostoAg7.jdbc.acesso.Acesso.update(Acesso.java:60)
br.com.ag7.ImpostoAg7.jdbc.implementacao.CadastroCliente.incluirCliente(CadastroCliente.java:41)
br.com.ag7.ImpostoAg7.servlet.imposto.CadastrarCliente.processRequest(CadastrarCliente.java:53)
br.com.ag7.ImpostoAg7.servlet.imposto.CadastrarCliente.doPost(CadastrarCliente.java:85)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:36

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

16 years ago
g'day, this is my first and desperate post.
please, i need help with debugging this project. i have looking for all the code searching errors or something like this, but unsucessfuly. so i'm doing it (in a last desperate action), i'm posting my project here, i hope you guys could help me-pleaaaaaase -

so here is...
http://rapidshare.com/files/51058871/project.zip.html

thanks, guys!
16 years ago