Click here to Skip to main content
15,558,672 members
Home / Discussions / Java
   

Java

 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 17:05
karengsh30-Dec-09 17:05 
GeneralRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan31-Dec-09 0:58
mveRichard MacCutchan31-Dec-09 0:58 
QuestionHashMap Pin
002comp29-Dec-09 23:55
002comp29-Dec-09 23:55 
AnswerRe: HashMap Pin
Richard MacCutchan30-Dec-09 0:16
mveRichard MacCutchan30-Dec-09 0:16 
GeneralRe: HashMap Pin
002comp30-Dec-09 19:01
002comp30-Dec-09 19:01 
GeneralRe: HashMap Pin
Cedric Moonen31-Dec-09 0:16
Cedric Moonen31-Dec-09 0:16 
GeneralRe: HashMap Pin
002comp31-Dec-09 0:48
002comp31-Dec-09 0:48 
QuestionError Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
karengsh29-Dec-09 1:28
karengsh29-Dec-09 1:28 
I'm using netbean IDE to create a jsp file which will collect data from another jsp file which contains a form for people to enter data.

However, when I run the jsp file, it gives me the following error:-

There are no servlet mappings specified in web.xml.

org.apache.jasper.JasperException: An exception occurred processing JSP page /processAddMember.jsp at line 34

31: strContact = request.getParameter("txtContact").trim();
32: strDOB = request.getParameter("txtDOB").trim();
33: strGender = request.getParameter("txtGender").trim();
34: strType = request.getParameter("txtMember").trim();
35: strRemarks = request.getParameter("txtRemarks").trim();
36: strCreateRecordSQL = "INSERT INTO tblMember ";
37: strCreateRecordSQL += "(strFullNameME,strEmailME,strAddressME, strNRICNoME, strContactME, "


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)


root cause

java.lang.NullPointerException
org.apache.jsp.processAddMember_jsp._jspService(processAddMember_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)


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

Pls help me. It's urgent. tks.
AnswerRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
Richard MacCutchan29-Dec-09 5:39
mveRichard MacCutchan29-Dec-09 5:39 
GeneralRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
karengsh30-Dec-09 6:06
karengsh30-Dec-09 6:06 
GeneralRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
Richard MacCutchan30-Dec-09 6:41
mveRichard MacCutchan30-Dec-09 6:41 
QuestionProb in reading .mtl file format. Pin
002comp27-Dec-09 20:35
002comp27-Dec-09 20:35 
Questioncall by value for objects Pin
mesho26-Dec-09 9:52
mesho26-Dec-09 9:52 
AnswerRe: call by value for objects Pin
Luc Pattyn26-Dec-09 10:18
sitebuilderLuc Pattyn26-Dec-09 10:18 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 11:33
mesho26-Dec-09 11:33 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 11:38
sitebuilderLuc Pattyn26-Dec-09 11:38 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 11:54
mesho26-Dec-09 11:54 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 12:22
sitebuilderLuc Pattyn26-Dec-09 12:22 
GeneralRe: call by value for objects Pin
Cedric Moonen26-Dec-09 23:45
Cedric Moonen26-Dec-09 23:45 
GeneralRe: call by value for objects Pin
mesho27-Dec-09 6:38
mesho27-Dec-09 6:38 
AnswerRe: call by value for objects Pin
April Fans18-Jan-10 16:28
April Fans18-Jan-10 16:28 
QuestionProblem in showing Illumination(shadowness) Pin
002comp23-Dec-09 1:48
002comp23-Dec-09 1:48 
AnswerRe: Problem in showing Illumination(shadowness) Pin
TorstenH.23-Dec-09 2:58
TorstenH.23-Dec-09 2:58 
GeneralRe: Problem in showing Illumination(shadowness) Pin
002comp23-Dec-09 19:58
002comp23-Dec-09 19:58 
QuestionTextureLoader In Java 3d API Pin
002comp22-Dec-09 21:48
002comp22-Dec-09 21:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.