What's wrong with the JSP files?? Urgent Help Request

I have run some JSP files using Apache Tomcat 4.0 but I see many similar error message for the JSP files when running on the IE. I don't whether I should install some other software or components or just program errors in the JSP files.
The error messages are as follows:
javax.servlet.ServletException: oracle/xml/parser/v2/XMLParseException
     at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
     at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:154)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
     at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
     at java.lang.Thread.run(Thread.java:536)
root cause
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
     at EntityBase.(EntityBase.java:18)
     at QuizGen.(QuizGen.java:16)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     at java.lang.Class.newInstance0(Class.java:296)
     at java.lang.Class.newInstance(Class.java:249)
     at java.beans.Beans.instantiate(Beans.java:204)
     at java.beans.Beans.instantiate(Beans.java:48)
     at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:122)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
     at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
     at java.lang.Thread.run(Thread.java:536)
And the reference JSP file is:
<%@page language="java" import="java.io.*, java.sql.*, DBSession, QuizGen"%>
<jsp:useBean id="sess" scope="session" class="DBSession"/>
<jsp:useBean id="quizGen" scope="session" class="QuizGen"/>
<%@include file="common.jsp"%>
<%
quizGen.setSession(sess);
quizGen.build();
quizGen.print(new PrintWriter(out), this.getURLPath(request, "edit_quiz_list.xsl"));
%>
another JSP file:
<%@page language="java" import="java.io.*, java.sql.*, eQuizMetadata"%>
<jsp:useBean id="eQuiz" scope="session" class="eQuizMetadata"/>
<%@include file="common.jsp"%>
<%
Integer nextQues = (Integer) session.getAttribute("eQuiz_nextQues");
session.setAttribute("eQuiz_nextQues", new Integer(nextQues.intValue()+1));
if (nextQues.intValue() > 0) {
if (request.getParameter("QueType").equals("F")) {
eQuiz.checkAnswer(request.getParameter("answer"));
else{
if (request.getParameter("QueType").equals("H")) {
eQuiz.checkAnswer(request.getParameter("map"));
else{
if(request.getParameter("QueType").equals("A")) {
String sAns = "";
     if (request.getParameter("MAT1") != null) sAns += request.getParameter("MAT1");
     if (request.getParameter("MAT2") != null) sAns += request.getParameter("MAT2");
     if (request.getParameter("MAT3") != null) sAns += request.getParameter("MAT3");
     if (request.getParameter("MAT4") != null) sAns += request.getParameter("MAT4");
     eQuiz.checkAnswer(sAns);
     else{
          if (request.getParameter("Cardinality").equals("S"))
          eQuiz.checkAnswer(request.getParameter("MC"));
          else {
          String sAns = "";
          if (request.getParameter("MR1") != null) sAns += request.getParameter("MR1");
          if (request.getParameter("MR2") != null) sAns += request.getParameter("MR2");
          if (request.getParameter("MR3") != null) sAns += request.getParameter("MR3");
          eQuiz.checkAnswer(sAns);
eQuiz.calAbility();
// meet one of the stopping criteria?
if (eQuiz.checkStopQuiz()) {
%>
<jsp:forward page="eQuiz_result.jsp"/>
<%
%>
<html>
<head>
<title>QuizML Management System</title>
</head>
<frameset border="0" rows="30,*">
<frame src="eQuiz_head.jsp" name="head" noresize scrolling="no">
<frame src="eQuiz_detail.jsp" name="detail" scrolling="auto">
</frameset>
</html>

root cause
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseExceptionYou simply don't have the "oracle.xml.parser.v2.XMLParseException" class in your classpath at run-time.

Similar Messages

  • What's wrong with the JSP file??Urgent Help Request

    I have run some JSP files using Apache Tomcat 4.0 but I see many similar error message for the JSP files when running on the IE. I don't whether I should install some other software or components or just program errors in the JSP files.
    The error messages are as follows:
    javax.servlet.ServletException: oracle/xml/parser/v2/XMLParseException
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
    at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:154)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
    at EntityBase.(EntityBase.java:18)
    at QuizGen.(QuizGen.java:16)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:296)
    at java.lang.Class.newInstance(Class.java:249)
    at java.beans.Beans.instantiate(Beans.java:204)
    at java.beans.Beans.instantiate(Beans.java:48)
    at org.apache.jsp.edit_0005fquiz_0005flist$jsp._jspService(edit_0005fquiz_0005flist$jsp.java:122)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:536)
    And the reference JSP file is:
    <%@page language="java" import="java.io.*, java.sql.*, DBSession, QuizGen"%>
    <jsp:useBean id="sess" scope="session" class="DBSession"/>
    <jsp:useBean id="quizGen" scope="session" class="QuizGen"/>
    <%@include file="common.jsp"%>
    <%
    quizGen.setSession(sess);
    quizGen.build();
    quizGen.print(new PrintWriter(out), this.getURLPath(request, "edit_quiz_list.xsl"));
    %>
    another JSP file:
    <%@page language="java" import="java.io.*, java.sql.*, eQuizMetadata"%>
    <jsp:useBean id="eQuiz" scope="session" class="eQuizMetadata"/>
    <%@include file="common.jsp"%>
    <%
    Integer nextQues = (Integer) session.getAttribute("eQuiz_nextQues");
    session.setAttribute("eQuiz_nextQues", new Integer(nextQues.intValue()+1));
    if (nextQues.intValue() > 0) {
    if (request.getParameter("QueType").equals("F")) {
    eQuiz.checkAnswer(request.getParameter("answer"));
    else{
    if (request.getParameter("QueType").equals("H")) {
    eQuiz.checkAnswer(request.getParameter("map"));
    else{
    if(request.getParameter("QueType").equals("A")) {
    String sAns = "";
    if (request.getParameter("MAT1") != null) sAns += request.getParameter("MAT1");
    if (request.getParameter("MAT2") != null) sAns += request.getParameter("MAT2");
    if (request.getParameter("MAT3") != null) sAns += request.getParameter("MAT3");
    if (request.getParameter("MAT4") != null) sAns += request.getParameter("MAT4");
    eQuiz.checkAnswer(sAns);
    else{
    if (request.getParameter("Cardinality").equals("S"))
    eQuiz.checkAnswer(request.getParameter("MC"));
    else {
    String sAns = "";
    if (request.getParameter("MR1") != null) sAns += request.getParameter("MR1");
    if (request.getParameter("MR2") != null) sAns += request.getParameter("MR2");
    if (request.getParameter("MR3") != null) sAns += request.getParameter("MR3");
    eQuiz.checkAnswer(sAns);
    eQuiz.calAbility();
    // meet one of the stopping criteria?
    if (eQuiz.checkStopQuiz()) {
    %>
    <jsp:forward page="eQuiz_result.jsp"/>
    <%
    %>
    <html>
    <head>
    <title>QuizML Management System</title>
    </head>
    <frameset border="0" rows="30,*">
    <frame src="eQuiz_head.jsp" name="head" noresize scrolling="no">
    <frame src="eQuiz_detail.jsp" name="detail" scrolling="auto">
    </frameset>
    </html>

    Your JSP refers to the class:
    oracle/xml/parser/v2/XMLParseException
    ...which isn't in your webapps class path... you need to find the jar that contains the parser and drop it into WEB-INF/lib for your app, or the Tomcat lib directory.

  • What's wrong with the XML file????

    Hello!
    I am tryig to implement a "Filter" on my Apache tomcat server. The problem occures when I try to modify the XML-file on the server. This is the XML file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
                        <!-- The Filter -->
    <filter>       
         <filter-name>LoginChecker</filter-name>
         <filter-class>filters.LoginFilter</filter-class> 
    </filter>
                        <!-- The Filter Mapping -->
    <filter-mapping>       
         <filter-name>LoginChecker</filter-name> 
         <url-pattern>/secret/*</url-pattern> 
    </filter-mapping>
                        <!-- The Servlets -->
    <servlet>
            <servlet-name>SLoginHandler</servlet-name>
            <servlet-class>LoginHandler</servlet-class>
    </servlet>
    <servlet>
             <servlet-name>SProtectedResource</servlet-name>
             <servlet-class>ProtectedResource</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SRegister</servlet-name>
             <servlet-class>Register</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SVerify</servlet-name>
             <servlet-class>Verify</servlet-class>
    </servlet>
                        <!-- ....The Servlets Mapping -->
    <servlet-mapping>
            <servlet-name>SLoginHandler</servlet-name>
             <url-pattern>/LoginHandler</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SProtectedResource</servlet-name>
             <url-pattern>/ProtectedResource</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SRegister</servlet-name>
             <url-pattern>/Register</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
            <servlet-name>SVerify</servlet-name>
            <url-pattern>/Verify</url-pattern>
    </servlet-mapping>
    </web-app>When I try to run another sevlet on the server side, e.g, "Verify", I'll get an error message. BUT if I changethe XML file to (remove the "filter" spec):
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
                        <!-- The Servlets -->
    <servlet>
            <servlet-name>SLoginHandler</servlet-name>
            <servlet-class>LoginHandler</servlet-class>
    </servlet>
    <servlet>
             <servlet-name>SProtectedResource</servlet-name>
             <servlet-class>ProtectedResource</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SRegister</servlet-name>
             <servlet-class>Register</servlet-class>
    </servlet>
    <servlet>
            <servlet-name>SVerify</servlet-name>
             <servlet-class>Verify</servlet-class>
    </servlet>
                        <!-- ....The Servlets Mapping -->
    <servlet-mapping>
            <servlet-name>SLoginHandler</servlet-name>
             <url-pattern>/LoginHandler</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SProtectedResource</servlet-name>
             <url-pattern>/ProtectedResource</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
             <servlet-name>SRegister</servlet-name>
             <url-pattern>/Register</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
            <servlet-name>SVerify</servlet-name>
            <url-pattern>/Verify</url-pattern>
    </servlet-mapping>
    </web-app>The servlet "Verify", or some other servlet, will work!!!
    What is wrong with my filter spec in the XML file?????

    hepp, no one asked for it...so no one will get it!
    BUT if "stevejluke" want another duke so let me know!

  • What's wrong with the scroll Bar(Urgent)

    I had a JPanel with a JTable, I put the scrollPane into the JPanel, but every time, with the mouse listener, the value of the JTable changed, but when I scroll the JTable, the value will change back to the first value which I click first time.
    Urgent, please help
    Emily

    below is my code.
    Display will have some graphics, the mouse click on the part of the graphics will produce different values in the table. class DatabaseDataDisplay has the JTable who display the values.
    Display.addMouseListener(new MouseAdapter()
    {  public void mousePressed(MouseEvent evt)
    //get the location of the mouse
              int x = evt.getX();
              int y = evt.getY();
              current = find(x, y);
    if(current!=-1)
    DatabaseDataDisplay D_Display=new DatabaseDataDisplay(Table_Name, current);
                                       //remove the old panel
                        WholePanel.remove(scrollPane5);
              //add the new DataPanel
    JScrollPane scrollPane5 = new JScrollPane(D_Display,
    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
    JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
    WholePanel.add(scrollPane5, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 2, 0, 2), 659, 5));
    /*if I put a repaint() here, the value on the table will always the values of the first time values when I click the mouse*/
    WholePanel.validate();

  • What's wrong with the jsp that show how many people online

    environment : tomcat
    the jsp can only add the online people count correct,
    when I close IE,the jsp cant sub the count;
    package mybeans;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ShowActiveSession implements HttpSessionListener{
    private static int activeSession=0;
    public void sessionCreated(HttpSessionEvent se){
    activeSession++;
    public void sessionDestroyed(HttpSessionEvent se){
    activeSession--;
    public static int getActiveSession(){
    return activeSession;
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <listener>
    <listener-class>
    mybeans.ShowActiveSession
    </listener-class>
    </listener>
    </web-app>
    jsp file
    <%@ page contentType="text/html;charset=GB2312"%>
    <%@ page import="mybeans.ShowActiveSession"%>
    <html>
    <body>
    online people count:<%=ShowActiveSession.getActiveSession()%>
    </body>
    </html>

    can you tell me how to give me a message when user
    close IE;This has been discussed many times in this forum there are various solutions you can try but nothing is reliable at 100% but search this forum if you wanna more info

  • What's wrong with the manifest file????

    when i tried to jar using this command:
    java -jar aaa.jar
    i have an error saying:
    Failed to load Main-Class manifest attribute from aaa.jar
    so i tried editing my manifest file but no matter wad changes i make to the manifest file the same error occur so desperately, i remove the manifest file and the same error occur! can someone help me???

    If you want to execute a jar file using the -jar option, then you must put a Main-Class entry into the mainifest of the jar. The Main-Class must be the fully qualified name of the main class. The main class must be added to the jar correctly. The manifest must end with a blank line.
    If you still have problems, you need to post more information: the contents of the manifest, the fully qualified name of the main class, the command you are using to create the jar.
    You can also execute jar without using the -jar option. You do this by adding the jar to the classpath and specifying the main class as the application class to run. For example java -classpath aaa.jar MainClass

  • What is wrong with the table om page 2 (see attached file)

    What is wrong with the table om page 2 (see attached file)

    MySpecialSceenName wrote:
    But there are several empty lines under the text...........
    I'm guessing that by that you mean space for several lines, not empty paragraphs. This could be caused by any number of things, but not allowing hyphenation, or hyphantion rules that are too restictive might cause ID to be unable to break a line which would cause it to go into overset, as would possibly some combinations of Keep Options if there is more than one paragraph in the cell or if there is not enough room to fite the entire paragraph and you are just one line short with keep options requiring at least two lines be kept together at the end, for example. Applying No Break to a sting too wide for the cell would do it too.

  • What's wrong with the wsdl

    We are trying to create a proxy from the following wsdl file and getting an error message: illegal syntax: API:Parameter BINDING has initial value
    The webservice that we are trying to consume is from TIBCO .
    Can someone please help me to find out what's wrong with the wsdl.
    <?xml version = "1.0" encoding = "UTF-8"?>
    <!--Created by TIBCO WSDL-->
    <wsdl:definitions name = "Untitled" targetNamespace = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
         <wsdl:types/>
         <wsdl:service name = "TIBCO__ABAP">
              <wsdl:port binding = "tns:SOAPEventSourceBinding" name = "SOAPEventSource">
                   <soap:address location = "http://192.168.9.58:10001/TIBCO_ABAP"/>
              </wsdl:port>
         </wsdl:service>
         <wsdl:portType name = "PortType">
              <wsdl:operation name = "Operation">
                   <wsdl:input message = "tns:Input"/>
                   <wsdl:output message = "tns:Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name = "SOAPEventSourceBinding" type = "tns:PortType">
              <soap:binding style = "document" transport = "http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name = "Operation">
                   <soap:operation soapAction = "http://192.168.9.58:10001/TIBCO_ABAP" style = "document"/>
                   <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
                   <wsdl:output>
            <soap:body use="literal" />
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:message name = "Input">
              <wsdl:part name = "Param1" type = "xs:int"/>
              <wsdl:part name = "Param2" type = "xs:int"/>
         </wsdl:message>
         <wsdl:message name = "Output">
              <wsdl:part name = "Result" type = "xs:int"/>
         </wsdl:message>
    </wsdl:definitions>

    Léon Hoeneveld's response works for me.  You will need to download a tool that allows you to edit the WSDL and reorder the values. 
    I've used a freeware tool like notepad++  collapsed all the levels and opened up the <wsdl:definitions xmlns:wsdl... segment and reordered the subgroups beneath it accordingly.
    1. types
    2. message
    3. portType
    4. binding
    5. service
    Thanks again Léon!

  • What's wrong with the activation server? i just bought my ipad wifi celllular... and have a 3g cellular network connection... when i press the bottom to activate my ipad it says the activation server cannot be reached. what to do then?

    what's wrong with the activation server? i just bought my ipad wifi celllular... and have a 3g cellular network connection... when i press the bottom to activate my ipad it says the activation server cannot be reached. what to do then?

    Hey aries35,
    I found the following that goes over troubleshooting the same issue for the iPhone. I know you have an iPad, but the steps should still apply:
    Perform the following steps:
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.
    via: iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    Cheers,
    Delgadoh

  • What's wrong with the itunes store UAE? i couldnt buy my favorite songs and movies because there's no "music" and "movies" category. please do something... thanks!

    what's wrong with the itunes store UAE? i couldnt buy my favorite songs and movies because there's no "music" and "movies" category. please do something... thanks!

    You are not addressing Apple here...
    This is a User to User forum...
    iTunes Store: Which types of items can I buy in my country?

  • What's wrong with the fan of my 15 inch retina mbp?

    what's wrong with the fan of my 15 inch retina mbp,when i play a big game like Batman ,the fans are so quiet and keep around 2000rpm,but the temperature of  cpu is up to 80 degrees.(by the way, i have reseted the SMC for many times,but it doesn't work)

    80 degrees F or 80 degrees C?

  • What's wrong with the code?

    public void run()
    try
    {     for(;;)
         mgr = (RTPManager)RTPManager.newInstance();
         mgr.addSessionListener(this);
         mgr.addReceiveStreamListener(this);
         try{  /*****port1 = port2 = 29261, which port is only used in here
         localAddr = new SessionAddress(InetAddress.getLocalHost(), port1);
         destAddr = new SessionAddress(ipAddr, port2);
         }catch(Exception e)
              System.out.println(e + " 4");
         try{
         mgr.initialize(localAddr);
         }catch(Exception e)
         System.out.println(e + " 5");
         //set buffer
         bc = (BufferControl)mgr.getControl("javax.media.control.BufferControl");
         if (bc != null)
         bc.setBufferLength(20);
         try{
              mgr.addTarget(destAddr);
         }catch(Exception e)
         System.out.println(e + " 2");
    catch(Exception e)
         System.out.println(e+ " 3");
    the error when i run the code is like that:
    javax.media.rtp.InvalidSessionAddressException: Can't open local data port: 29261
    5
    java.io.IOException: Address already in use: Cannot bind 2
    which means there is error in :
    mgr.initialize(localAddr);
    mgr.addTarget(destAddr);
    But i don't know what's wrong with the code,
    can any one help me?

    I do not find any problem using the same ports for local and destination address with several unicasts. My problems are others.
    But note that the error is even at constructing the localAddress, I mean before trying the destinationAddress. Thus the reason cannot be the former is already in use. In fact I think the later belongs to a remote hosts. Likely, it is trying to access the destinationAddress through the localAddress, but this has not been constructed properly.

  • What's wrong with the server?

    execute me ~what's wrong with the server? I can‘t use the command nohup any longer.Can somebody help me?
    root@shhis1new # nohup
    Segmentation Fault (core dumped)
    root@shhis1new # nohup ls
    Segmentation Fault (core dumped)
    root@shhis1new # nohup /opt/SUNWexplo/bin/explorer -w all &
    [1] 6871
    root@shhis1new #
    [1]+ Segmentation Fault (core dumped) nohup /opt/SUNWexplo/bin/explorer -w all
    root@shhis1new # uname -a
    SunOS shhis1new 5.9 Generic_122300-19 sun4u sparc SUNW,Netra-T12
    System Configuration: Sun Microsystems sun4u Sun Fire E2900
    System clock frequency: 150 MHZ
    Memory size: 49152 Megabytes
    Best Regards
    <email address removed by moderator>
    Edited by: 884082 on 2011-11-22 下午10:00

    Moderator Action:
    You email address has been removed from your post.
    You wouldn't want bad people to send you spam messages for the rest of your life, eh?
    Moderator Advice:
    If this is the same E2900 that you have mentioned in every one of your other forum posts, then it would seem you need to contact Technical Support and open a proper support request. These forums are NOT techsupport and that system seems so poorly configured that it needs deep analysis. Such investigation cannot be done by using an online forum.
    The immediate solution is to log on to the SC of that box and power it down, then boot it back up. At least it will be running after that.

  • What's wrong with the following code?

    What's wrong with the following code?
    Circle cir1;
    double rad = cir1.radius

    The circle Object was never instantiated.
    In other words, you have set a declaring of a Circle, but it has not been created in memory yet.
    You will create it using the " = new Circle( PARAMETERS_HERE ); "
    Or some other method that returns a circle.

  • What's wrong with the IOS5 download, it downloads and then after its finished it says server timed out, how do i sort this out

    What's wrong with the IOS5 download, it downloads and then after its finished it says server timed out, how do i sort this out?

    The Firefox versions which come with many Linux distros have the default Mozilla Firefox updater disabled and use the distros built-in updater.
    See this - http://linuxforums.org.uk/netbooks/install-firefox-6-on-an-acer-aspire-one-running-linpus-lite-linux/

Maybe you are looking for

  • S4BB Audiobook won't work - this file could not be opened check that you have the correct permission​s and try again

    I bought the french audiobook J'accuse from S4BB and it simply doesn't work.  I sought help from Blackberry and got the message that BB doesn't support 3rd party apps.  I contacted S4BB, who by the way says they have a warranty on their apps, and got

  • UID to AD Attribute mapping

    Hey folks- Anyone have a suggesting for an existing Active Directory attribute that I can map UID to? I have no problem creating an attribute, but then I have to manually populate it for each user (since OS X won't) and that is rather cumbersome. I'd

  • Redirecting undeliverable message

    Hi, is there a header I can set to send the underliverable messages to a different address? i tried all of the following headers and none works: Return-Path,X-Return-Path,Content-Return,Disposition-Notification-To. To send the delivery reports I used

  • Class path error in connection to jdbc system

    Dear all, I m trying to create a jdbc conection to access the a system "jdbc" in the portal database.I have included four jar files namely Generic connector.jar Helper.jar Extended connector.jar com.sap.portal.ivs.connectionserviceapi.jar bt still i

  • Content Search Webpart Property Filter

    Hi,  I have two pages. In first page i added custom webpart with one textbox and search button. In second page i have content search webpart that should filter the result based on the property value we enter in the text box. I added the property filt