9.0.3 JSP DataScroller Error (Not a Missing DataHandler)

I generate the Browse Page/Form for DepartmentsView1. It includes a DataHandler, DataScroller, and DataTable (with the AM and DS tags) as appropriate. I can run this successfully with Netscape 4.77, IE 5.5, IE 6.0.26.
However a colleague runs this in IE 6.0.26 and the DataScroller does strange things; for example, upon opening the JSP, the Next link does not do anything; selecting records 13-15 works, but Next takes you back to records 1-3 not 10-12. Previous returns a Null exception. On the same machine, this JSP page works fine with Netscape 7, so it seems to be something with IE on that machine. All security and advanced options are set at the default.
Any ideas out there?
9.0.3 (build 1008 and 988 and before)

It is not just the wizard-generated JSP page. This also happens if I drop the components into a new JSP Page.

Similar Messages

  • JSP : Tiles Error �tag.getAsString� : component context is not defined

    JSP : Tiles Error �tag.getAsString� : component context is not defined
    I�m working with Struts 1.1 and Tiles, under Tomcat 5.0.16
    My application works fine using Struts 1.1 alone, however, when attempting to run the application in a �Tiles� environment, I get an error:

    javax.servlet.jsp.JspException: Error - tag.getAsString : component context is not defined. Check tag syntax

    I have �defined� this in my �tiles-defs.xml� file, and as far as I can tell, everything else is configured properly (I have looked over the included Struts document examples, and others on the web, and I seem to have everything configured identically).
    What am I missing???
    I have created a series of �mostly� empty JSP files, for simplicity sake.
    JSP FILES:
    -     header.jsp
    -     footer.jsp
    -     menu.jsp
    -     rootLayout.jsp
    -     user.jsp
    -     show_user.jsp
    -     error.jsp
    -     defaultContentPage.jsp
    All JSP files contain:
    <%@ taglib uri="/WEB-INF/lib/struts-tiles.tld" prefix="tiles" %>
    and

    <title>
    <tiles:getAsString name="title"/>
    </title>

    My �tiles-defs.xml�: =================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE tiles-definitions PUBLIC
    "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
    <!-- ================ RootLayout ======================= -->
    <definition name=".root.layout" path="/jsp/rootLayout.jsp" >
    <put name="title" value="Default title"/>
    <put name="header" value="/jsp/header.jsp"/>
    <put name="menu" value="/jsp/menu.jsp"/>
    <put name="content" value="/jsp/defaultContentPage.jsp"/>
    <put name="footer" value="/jsp/footer.jsp"/>
    </definition>
    <!-- ================ Extentions ======================= -->
    <!-- User -->
    <definition name=".view.user" extends=".root.layout">
    <put name="title" value="Welcome to the User Form."/>
    <put name="content" value="/jsp/user.jsp"/>
    </definition >
    <!-- Save -->
    <definition name=".view.save" extends=".root.layout">
    <put name="title" value="Welcome to the Show User Form."/>
    <put name="content" value="/jsp/show_user.jsp"/>
    </definition >
    <!-- Error -->
    <definition name=".view.error" extends=".root.layout">
    <put name="title" value="Error Message."/>
    <put name="content" value="/jsp/error.jsp"/>
    </definition >
    </tiles-definitions>
    My �struts-config.xml�: ==============================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- ========== FormBeans =================================== -->
    <form-beans>
    <form-bean name="userForm" type="biz.seamrog.strutstest.model.state.UserForm"/>
    </form-beans>
    <!-- ========== Action Mapping Definitions=================== -->
    <action-mappings>
    <!-- Action using normal forward syntax...
    <action path="/user"
    forward="/jsp/user.jsp">
    </action>
    -->
    <!-- Action using a "Tiles" forward syntax...
    The "forward" path mappings are defined in a file named
    "../WEB-INF/tiles-defs.xml
    -->
    <action path="/user"
    forward=".view.user">
    </action>
    <!-- Action using normal forward syntax...
    <action path="/save"
    type="biz.seamrog.strutstest.model.logic.SaveAction"
    name="userForm" scope="request"
    input="/jsp/user.jsp">
    <forward name="success" path="/jsp/show_user.jsp"/>
    <forward name="failure" path="/jsp/error.jsp"/>
    </action>
    -->
    <!-- Tiles syntax -->
    <action path="/save"
    type="biz.seamrog.strutstest.model.logic.SaveAction"
    name="userForm" scope="request"
    input="/jsp/user.jsp">
    <forward name="success" path=".view.show_user"/>
    <forward name="failure" path=".view.error"/>
    </action>
    </action-mappings>
    <!-- ============== Global Forwards ======================== -->
    <global-forwards>
    <!-- NOTE: paths with "." syntax are Tiles defined paths,
    all other paths follow conventional "/path/to/file.jsp syntax
    -->
    <forward name="user" path=".view.user"/>
    <forward name="show_user" path=".view.show_user"/>
    <forward name="error" path=".view.error"/>
    <forward name="cssBase" path="/stylesheets/common.css"/>
    </global-forwards>
    <!-- ============= Plug-ins =============== -->
    <!-- Tiles Plug-in -->
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
    <set-property property="definitions-parser-validate" value="true" />
    <set-property property="moduleAware" value="true" />
    </plug-in>
    </struts-config>
    My �web.xml�: =====================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!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>
    <servlet>
    <!--
    MyController extends org.apache.struts.action.ActionServlet
    NOTE: The servlet could also be specified specifying the
    default Struts ActonServlet...
    <servlet-name>controller</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    ...I have chosen to extend here just for practice sake.
    -->
    <!--
    <servlet-name>MyController</servlet-name>
    <servlet-class>biz.seamrog.strutstest.controller.MyController</servlet-class>
    -->
    <servlet-name>MyController</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <!--
    Point to Struts configuration file(s)
    -->
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <!-- Tiles config -->
    <init-param>
    <param-name>definitions-config</param-name>
    <param-value>/WEB-INF/tiles-defs.xml</param-value>
    </init-param>
    <!-- This is the added Application parameter: -->
    <init-param>
    <param-name>application</param-name>
    <param-value>ApplicationResource</param-value>
    </init-param>
    <!-- end -->
    <load-on-startup>5</load-on-startup>
    </servlet>
    <!--
    All incoming requests that end in .do, send to MyController.
    -->
    <servlet-mapping>
    <servlet-name>MyController</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!--
    Send initial requests to the login page for this application
    -->
    <welcome-file-list>
    <welcome-file>/jsp/user.jsp</welcome-file>
    </welcome-file-list>
    <!--
    Make all of the necessary related Struts JSP custom tag libraries
    available and define where to find them.
    -->
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-tiles.tld</taglib-location>
    </taglib>
    </web-app>
    My �rootLayout.jsp�: ================================================
    <%@page contentType="text/html"%>
    <%@ taglib uri="/WEB-INF/lib/struts-tiles.tld" prefix="tiles" %>
    <html>
    <header>
    <title>
    <tiles:getAsString name="title" />
    </title>
    <body>
    <tiles:get name="header"/>
    <tiles:get name="menu"/> <tiles:get name="content"/>
    <tiles:get name="footer"/>
    </body>
    </html>

    I found an entry in the Mail Archive for Struts. I got it working. My working code is below. You need to in the base JSP import the header and put the 'title' out to it.
    tiles:def file:
    <!DOCTYPE tiles-definitions PUBLIC
    "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
    <definition name=".petstore.Base" path="/common/petstorecommon.jsp">
    <put name="title" value ="${title}"/>
    <put name="header" value="/common/header.jsp"/>
    <put name="message" value="/common/message.jsp"/>
    <put name="content" value="${content}"/>
    <put name="navbar" value="/common/navbar.jsp"/>
    </definition>
    <definition name="petstore.Login" extends=".petstore.Base" >
    <put name="title" value="Login Page" />
    <put name="content" value="/Logon.jsp"/>
    <put name="test1" value="test1value"/>
    </definition>
    base tile def:
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html:html>
    <head>
    <html:base/>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>pet store common (jsp)</title>
    </head>
    <body>
    <tiles:insert attribute="header">
    <%-- both of these attributes are accessible from header.jsp It works!!! --%>
    <tiles:put name="title" beanName="title" beanScope="tile" />
    <tiles:put name="test1" beanName="test1" beanScope="tile" />
    </tiles:insert>
    <%-- <tiles:get name="header" /> --%>
    <tiles:get name="message" />
    <tiles:get name="content" />
    <tiles:get name="navbar" />
    </body>
    </html:html>
    Getting access to the title value in the header.jsp file:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
    <html>
    <head>
    <tiles:getAsString name="title" />
    <tiles:getAsString name="test1" />
    </head>
    <body>
    </body>
    </html>

  • Error:the prefix "jsp"  for element "jsp:scriptlet" is not bound

    i got this error:
    the prefix "jsp"  for element "jsp:scriptlet" is not bound.how can i remove this error.

    Add this to the jsp:root tag
    xmlns:jsp="http://java.sun.com/JSP/Page"
    How did it get removed from your JSP?
    (assuming you are using Sun Java Studio Creator)

  • Error in compiling: file javax\servlet\jsp\PageContext.class not found

    Hi,
    i'm getting an error when I'm trying to compile an java file. The error is as follows:
    cannot access javax.servlet.jsp.PageContext
    file javax\servlet\jsp\PageContext.class not found
    Isn't the javax package included in jdk? I've installed jdk 1.3.1_03 and j2re1.4.0_02. Shouldn't this PageContext.class be automatically loaded when i've installed jdk?
    I'm getting desperated! I've tried almost everything: i've changed the classpath, moved the directory of the java file I'm trying to compile over and over but i'm getting no success!
    Any help is very welcome!
    Thankx,
    Nuno.

    hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
    package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
    my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
    hope this helps.

  • Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime prop

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through th http server
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Any ideas ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    I am also experiancing this problem. I have updated the ojsp to version 112200 and the properties file exist within the .jar used by the .jsp file.
    Exception:
    java.lang.RuntimeException: java.lang.RuntimeException: JSP Registry could not locate runtime property file:deseweb_DesewebModule.properties
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.lang.RuntimeException.(RuntimeException.java:47)
    at morenet.jsp.JSPApplicationRegistry.registerApplicationFromProperties(JSPApplicationRegistry.java:199)
    at morenet.jsp.MorenetWebBeanImpl.internalInitialize(MorenetWebBeanImpl.java:119)
    at oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:56)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:395)
    at morenet.jsp.MorenetWebBeanImpl.initialize(MorenetWebBeanImpl.java:62)
    at apps.deseweb._index._jspService(_index.java:71)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(JspServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

  • Jsp:include does not work in 8.1 SP3?

    Hi all,
              I need to include a local file (external to the app) in jsp code. The external file includes an image map which changes very so often. So in order to avoid doing a build everytime, I thought about keeping the image map in a file which can be "included" in the jsp file, making it very dynamic to a change.
              So I have a servlet which will read this file and output the contents to response.getWriter(), which will be included in calling jsp code.
              But the jsp file does not seem to call the servlet at all.
              Here is the code in the jsp file:
              <%
              String sFileUrl = "/Prj/RenderReport?file=OrgChart.html";
              %>
              <jsp:include page="<%=sFileUrl%>" />
              What am I doing wrong? Is this not possible at all?
              Thank you all in advance.

    hi pjoshi,
              <jsp:include page="hello.jsp" /> tag is working fine in weblogic 8.1 sp3.
              I think it might be syntax error in your jsp page.
              This is the syntax to including dynamic files in jsp using <jsp:include page="" />tag as given below.
              <jsp:include page="{relativeURL | <%= expression %>}" flush="true" />
              go through the below link and you will find exact information how to include dynamic files in jsp using <jsp:include page=""/>
              http://java.sun.com/products/jsp/syntax/1.1/syntaxref1112.html
              --Anilkumar kari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • JFreechart and JSP, DefaultCategoryDataset is not identified

    Hi,
    Im using JFreechart in my application. Im just using a simple cahrt 2 check. If it works fine then i wil b apple to develop mi entire application. But i face the following problem. I placed al the jar files of JFreechart in root/webinf/lib/ but then DefaultCategoryDataset is not being identified. Can anyone please guide me whats the problem is?
    I hv enclosed the coding and the error with this mail.
    <%@page contentType="text/html;charset=big5"%>
    <%@page import="org.jfree.data.*"%>
    <%@page import="org.jfree.chart.*"%>
    <%@page import="java.io.*"%>
    <FORM METHOD="POST" name="chartform" action="Chart.jsp">
    <%
    DefaultCategoryDataset myDataSet=new DefaultCategoryDataset();
    myDataSet.setValue("apple",100);
    myDataSet.setValue("pear",200);
    myDataSet.setValue("grape",300);
    myDataSet.setValue("bannana",400);
    myDataSet.setValue("orange",500);
    JFreeChart chart=ChartFactory.createPieChart3D("fruit production chart",myDataSet,true,true,true);
    chart.setBackgroundPaint(java.awt.Color.white);
    chart.setBorderVisible(false);
    %>
    <img src="servlet/showChart" border=0>
    <Center><Input type="Submit" value="Generate..."/></Center>
    </FORM>
    </BODY>
    </HTML>
    -----------showChart code------------------
    import java.io.*;
    import javax.servlet.*;
    import org.jfree.data.*;
    import org.jfree.chart.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    public class showChart extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
    ChartRenderingInfo thisImageMapInfo=new ChartRenderingInfo();
    HttpSession thisSession = request.getSession();
    response.setContentType("image/jpeg");
    JFreeChart thisChart=(JFreeChart)thisSession.getAttribute("chart");
    ChartUtilities.writeChartAsJPEG(response.getOutputStream(),100,thisChart,400,300,thisImageMapInfo);
    I have placed both the files in same folder. and complied the class. Is it enuf or whats the procedure to connect JSP and its correspondibg servlet.
    ----------------error--------------------------
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 15 in the jsp file: /Teresa/Chart.jsp
    Generated servlet error:
    DefaultCategoryDataset cannot be resolved or is not a type
    An error occurred at line: 15 in the jsp file: /Teresa/Chart.jsp
    Generated servlet error:
    DefaultCategoryDataset cannot be resolved or is not a type
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    any help is appreciated...thanks in advance
    Regards,
    Carry.

    sorry, I path name i hv specified is having some typo
    error
    but the jar files are in right path as said by u
    anything else to help me...yes, you havent imported the package
    <%@page import="org.jfree.data.category.*"%>Importing org.jfree.data.* doesnt import the sub-packages :)
    cheers,
    ram.

  • JSP compilation errors in weblogic 6.1

              I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
              Full compiler error(s):
              error: Invalid class file format:
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:34: Class
              com.ford.redherring.model.PropertiesAttributesModel not found in import.
              import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
              /web/jsp/event/eventForm.jsp; Line: 64]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
              not found in import.
              import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 68]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
              not found in import.
              import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 69]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
              not found in import.
              import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 70]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:41: Class
              com.ford.redherring.model.DDValidationModel not found in import.
              import com.ford.redherring.model.DDValidationModel; <file://[>
              /web/jsp/event/eventForm.jsp; Line: 71]
              

    This appears to be a CLASSPATH problem (you are missing references to
              'com.ford.redherring.model.*' and 'com.ford.redherring.util.*'). The
              CLASSPATH may be set in the server startup script. Hope this helps.
              Wade.
              "Katri Alur" <[email protected]> wrote in message news:<[email protected]>...
              > I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
              >
              > ----------------------------------------------------------------------------
              > ----
              > Full compiler error(s):
              > error: Invalid class file format:
              >
              >
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:34: Class
              > com.ford.redherring.model.PropertiesAttributesModel not found in import.
              > import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
              > /web/jsp/event/eventForm.jsp; Line: 64]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
              > not found in import.
              > import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 68]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
              > not found in import.
              > import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 69]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
              > not found in import.
              > import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 70]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:41: Class
              > com.ford.redherring.model.DDValidationModel not found in import.
              > import com.ford.redherring.model.DDValidationModel; <file://[>
              > /web/jsp/event/eventForm.jsp; Line: 71]
              

  • "500 Internal Server Error" not opening into explorer

    I have problem in ORACLE BI while opening Presentation Services and BI publisher.
    I installed MS Windows 2003 Server SP2, Internet Explorer 6.0, ORACLE10g R2 database and created a database MIS. Installed JDK 1.6 and ORACLE BIEE 10.1.3.4.1
    When I open ORACLE BI Presentation Services or BI Publisher from menu it is giving
    “500 Internal Server Error” not opening into explorer. Attached is the screen shot for your review.
    The log says
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:
    C:\obiee\OracleBI\oc4j_bi\j2ee\home\applicationdeployments\analytics\analytics\persistence\_pages\\_default.java
    An input/output error occurred
    Consult the following stack trace for detail
    java.io.IOException: cannot close class loader
    Caused by : java.lang.NullPointerException.
    All advice appreciated.
    Thanks

    Hello Brahmeshwar
    The defaulttrace error you are looking normally is just a warning, and can be simply ignored.
    Please search the Exception ID which you are seeing in the page, like "005056A0354D001F000000650000100C0004904D0B0E33C7"
    And check the detailed exception there.
    And please check whether you are getting any issue when accesing other J2EE apps like http://<host>:<port>/useradmin  or /nwa.
    Best Regards,
    Thunder

  • How to see JSP compilation errors - Tomcat 4.1.18- JDK 1.4

    Hi There,
    I'm kind of new to JSP world, so once in while I forget to put a ; or I put a variable name wrong (I usualy use Eclipse to do my coding in JAVA, but the existing plugins for JSP development are still in their early stages, so there's isn't any plugin that indicates errors on JSP before deploying them).
    When I try to see a JSP, if it has an error (compilation-time error), I get this message:
    <--->
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    <--->
    This doesn't help me a lot to fix the problem, I would like to, at least, see from what line the error came from.
    Help anyone?
    Thank You
    Pinho

    This kind of errors often come from syntax error in
    the jsp page.
    Tomcat is not very friendly with this kind of errors.
    A trick is to open the java file under the 'work'
    directory and checkIsn't there any way to show the error on a page, just like a run-time error?
    Maybe changing some log setting?

  • Jsp code is not working after some modification in design why?

    hi,
    I am in the final touch of my course work in jsp.i did all the coding and tested..everything was working properly..after i did some modification in the structure of the page the update query is not working..i dont understand why?
    i am attaching my old page and new page here...plz help me to solve this...
    old page editstudent.jsp
    <html>
    <body>
    <%@ page language="java" import="java.sql.*,java.text.SimpleDateFormat,java.util.Date" %>
    <%
    SimpleDateFormat formatter;
    formatter = new SimpleDateFormat("dd-MM-yyyy");
    String refno=request.getParameter("refno");
         String student=request.getParameter("student");
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con=DriverManager.getConnection("jdbc:odbc:lsmsdsn","","");
         Statement st1=con.createStatement();
    ResultSet rs=st1.executeQuery("select * from sponsordetails where refno='"+refno+"'");
    %>
    <form name=editsponsorform method="POST" action="editsponsor.jsp" >
    <input type="text" name="refno" size="20" value="<%=refno%>"></p>
    <p>Sponsor Name <input type ="text" name="sponsorname" size="50" value="<%=rs.getString(2)%>"></p>
    <p>Sponsor's Address&nbsp<textarea name="sponsorsaddress" rows="5" cols "80" tabindex="10"><%=rs.getString(3)%></textarea></p>
    <p>Sponsor's Phoneno <input type ="text" name="sponsorsphoneno" size="30" value="<%=rs.getInt(4)%>"></p>
    <p>Sponsor's Fax <input type ="text" name="sponsorsfax" size="30" value="<%=rs.getInt(5)%>"></p>
    <input type="submit" name="b1" value="Save & Continue" >
    <input type="Reset" name="b2" value="Cancel "onClick="window.location='home.html'">
    old page editsponsor.jsp
    <html>
    <body>
    <%@ page language="java" import="java.sql.*,java.text.SimpleDateFormat,java.util.*" %>
    <%
    String refno=request.getParameter("refno");
    String sponsorname=request.getParameter("sponsorname");
    String sponsorsaddress=request.getParameter("sponsorsaddress");
    String d=request.getParameter("sponsorsphoneno");
    int sponsorsphoneno=Integer.parseInt(d);
    String d1=request.getParameter("sponsorsfax");
    int sponsorsfax=Integer.parseInt(d1);
    Connection con =null;
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con=DriverManager.getConnection("jdbc:odbc:lsmsdsn","","");
         PreparedStatement st=con.prepareStatement("update sponsordetails set sponsorname= ?,sponsorsaddress=?,sponsorsphoneno=?,sponsorsfax=? where refno=?");
    st.setString(1,sponsorname);
    out.println(sponsorname);
    st.setString(2,sponsorsaddress);
    st.setInt(3,sponsorsphoneno);
    st.setInt(4,sponsorsfax);
    st.setString(5,refno);
    st.executeUpdate();     
         st.executeUpdate();
         out.println("record updated successfully"+"<A HREF='loginhtml.html'>login page</A>.");
    finally {
         try {
              if (con !=null) {
              con.close();
         catch (SQLException se)
         out.println(se.getMessage());
    %>
    </body>
    </html>
    New page editstudent.jsp
    <html>
    <body>
    <%@ page language="java" import="java.sql.*,java.text.SimpleDateFormat,java.util.Date" %>
    <%
    SimpleDateFormat formatter;
    formatter = new SimpleDateFormat("dd-MM-yyyy");
    String refno=request.getParameter("refno");
         String student=request.getParameter("student");
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con=DriverManager.getConnection("jdbc:odbc:lsmsdsn","","");
         Statement st1=con.createStatement();
    ResultSet rs=st1.executeQuery("select * from sponsordetails where refno='"+refno+"'");
    %>
    <form name=editsponsorform method="POST" action="editsponsor.jsp" onSubmit="return validateEditsponsorform()">
    <table width="821" border="1" align="center" bordercolor="#F8F8F8" bgcolor="#F5F5F5">
    <tr>
    <td colspan="6" bgcolor="#CCCCCC"><p class="style6"> </p>
    <p class="style6"> </p>
    <p class="style6"> </p></td>
    </tr>
    <tr>
    <td width="130">Ref No:</td>
    <td width="158">
    <input type="text" name="refno" disabled="true" value="<%=refno%>" />
    </td></tr>
    <tr>
    <td width="130">Sponsor Name</td>
    <td width="158">
    <input type="text" name="sponsorname" value="<%=rs.getString(2)%>"/>
    </td></tr>
    <tr>
    <td>Sponsor's Address:</td>
    <td>
    <textarea name="sponsorsaddress" cols="20" rows="5"><%=rs.getString(3)%></textarea>
    </td></tr>
    <tr>
    <td>Sponsor's Phone No:</td>
    <td>
    <input type="text" name="sponsorsphoneno" value="<%=rs.getInt(4)%>"/>
    </td></tr>
    <tr>
    <td>Sponsor's Fax:</td>
    <td>
    <input type="text" name="sponsorsfax" value="<%=rs.getInt(5)%>" />
    </td></tr>
    <tr>
    <td>
    <input type="submit" name="b1" value="Submit & continue" />
    </td>
    <td><label>
    <input type="reset" name="b2 " value="cancel" onClick="window.location='home.html'" />
    </td>
    </tr>
    </table>
    </form>
    new page editsponsor.jsp
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Edit</title>
    <style type="text/css">
    <!--
    .style2 {
         color: #CC6600;
         font-weight: bold;
         font-size: small;
    .style4 {
         color: #0000CC;
         font-weight: bold;
         font-size: large;
    -->
    </style>
    </head>
    <body bgcolor="#F5F7F4" topmargin="0">
    <%@ page language="java" import="java.sql.*,java.text.SimpleDateFormat,java.util.*" %>
    <div align="center">
    <table width="800" border="0" cellpadding="0" cellspacing="0" bgcolor="#FBFCFF">
    <!--DWLayoutTable-->
    <tr>
    <td height="150" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <!--DWLayoutTable-->
    <tr>
    <td width="800" height="139" valign="top"><img src="images/banner copy.jpg" width="800" height="150" /></td>
    </tr>
    </table>
    <%
    String refno=request.getParameter("refno");
    String sponsorname=request.getParameter("sponsorname");
    out.println(sponsorname);//i am getting the values here.............
    String sponsorsaddress=request.getParameter("sponsorsaddress");
    out.println(sponsorsaddress);
    String d=request.getParameter("sponsorsphoneno");
    out.println(d);
    int sponsorsphoneno=Integer.parseInt(d);
    out.println(sponsorsphoneno);
    String d1=request.getParameter("sponsorsfax");
    int sponsorsfax=Integer.parseInt(d1);
    out.println(sponsorsfax);
    Connection con =null;
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con=DriverManager.getConnection("jdbc:odbc:lsmsdsn","","");
    PreparedStatement st=con.prepareStatement("update sponsordetails set sponsorname= ?,sponsorsaddress=?,sponsorsphoneno=?,sponsorsfax=? where refno=?");
    st.setString(1,sponsorname);
    out.println(sponsorname);
    st.setString(2,sponsorsaddress);
    st.setInt(3,sponsorsphoneno);
    st.setInt(4,sponsorsfax);
    st.setString(5,refno);
    st.executeUpdate();
         out.println("record updated successfully"+"<A HREF='loginhtml.html'>login page</A>.");
    finally {
         try {
              if (con !=null) {
              con.close();
         catch (SQLException se)
         out.println(se.getMessage());
    %>
    </body>
    </html>
    the database is not updating...its updating when i am giving values directly to update query..why?help me plzzz..
    thanks in advance

    ashish1234 wrote:
    hi,
    I am in the final touch of my course work in jsp.i did all the coding and tested..everything was working properly..after i did some modification in the structure of the page the update query is not working..i dont understand why?
    i am attaching my old page and new page here...plz help me to solve this...
    the database is not updating...its updating when i am giving values directly to update query..why?help me plzzz..With all that Java code in your JSPs, it doesn't look like you are in the final touch of learning JSP, but just at the beginning. Try to move all that java code into Servlets and JavaBeans. The JSP should be all about display, and nothing else.
    What is your problem? I don't know. All that unformatted code is un-readable. On top of being scriptlet code which is hard enough to read.
    You should search the logs to see if there is an error message hidden in there. That is one of the major problems with putting regular Java code in JSPs, the error messages get hidden, and become near impossible to translate.

  • Javelin JSP compilation error

    Hello Everyone,
    I've a some JSP's that work some times and fail sometime with
    <head>
    <title>Javelin JSP compilation error</title>
    </head>
    <body>
    <b>Compilation of JSP File '/jsp/temp/Index.jsp' <font color=#FF0000>failed</font>:</b><HR>
    <pre>
    I tried restarting the server, removing .wlnotdelete and couple of other things.
    Why the JSP is compiled everytime(even if the server is not restarted) and Why a good looking no error JSP failis loading everytime.
    Can anyone please help.
    ~ALAPATI

    I'm using bea weblogic 8.1 SP5.
    Java - jrockit81sp5_142_08
    <head>
    <title>Javelin JSP compilation error</title>
    </head>
    <body>
    <b>Compilation of JSP File '/jsp/output/Index.jsp' <font color=#FF0000>failed</font>:</b><HR>
    <pre>
    Errors found in <PATH TO THE FILE>/Index.jsp:
    Error at line 397 column 55:
    Description: Type <MyClass> contains no field with this name.
    Error at line 399 column 13:
    Description: Type <Another Class> contains no methods with this name.
    Found 2 error(s) and 0 warning(s).
    </pre>
    </body></html>
    >
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/output/Index.jsp<html>
    <head>
    <title>Javelin JSP compilation error</title>
    </head>
    <body>
    <b>Compilation of JSP File '/jsp/output/Index.jsp' <font color=#FF0000>failed</font>:</b><HR>
    <pre>
    Errors found in <PATH TO FILE>/Index.jsp:
    Error at line 397 column 55:
    Description: Type <MyClass> contains no field with this name.
    Error at line 399 column 13:
    Description: Type <Another Class> contains no methods with this name.
    Found 2 error(s) and 0 warning(s).
    </pre>
    </body></html>
    at weblogic.servlet.jsp.WlwJspStub.compilePage(WlwJspStub.java:208)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:265)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    2 errors javelin complaining is because of this.
    1) I'm trying to access MyClass.SHOW_ME_TEXT
    2) I'm trying to create an object of AnotherClass by new AnotherClass();
    Please let me know if you want more details.

  • Javascript in JSP Portlet error..can anybody help?

    Hi..
    I got a problem..
    I use JSP in Portlet..
    The problem is, when i put this code in Portlet, it gaves me javascript Error..not sure what to do...
    'document.standinglist._piref1_41281_1_1.next_page' is null or not an object '
    In normal situation (jsp in server, not in portlet)..it is ok..
    function cancelR(flag) {
    var total = 0;
    if ( confirm("Do you want to continue process this record ?") ) {
    document.standinglist._piref1_41281_1_1.next_page.value = "/htdocs/stand/standcancel.jsp?flag=flag";
    document.standinglist.submit();
    else {
    alert("Please select the required record!");
    }

    Hi,
    The behavior that you are seeing is an expected one. As i can understand, you have an HTML form element whose name is a fully qualified parameter & currently at runtime it is _piref1_41281_1_1.next_page If you carefully observe this, this name itself contains a period (dot).Hence when the browser tries to execute this, it thinks that _piref1_41281_1_1 is an object (which it isn't).
    The whole issue is because there is a dot in the fully qualified name which has this format _piref<portletInstanceRefId>.<ParamName>
    You could do the following to get it work. Use the following,
    document.standinglist.elements["._piref1_41281_1_1.next_page"].value = "/htdocs/stand/standcancel.jsp?flag=flag";
    Note however that this method call will not work on portal 3.0.9. when viewed using IE. This is due to IE's bizzare handling of this javascript call.
    Since, you are using Portal 9.0.2, you should not face any issues.
    Hope this helps.
    Regards,
    Abhinav

  • JSP - prefix error - need resolution

    Hi all (Charles, Todd, Mike & others),
    @ the ND4 to iPlanet migration project, we have failed to get the JSP
    loaded in iPlanet. The exception displayed in the KJS follows below.
    We are not sure what this implys and how to resolve it (Does it
    require a setting in the deployment tool? or maybe something
    completely different). So, if you could help us better interprete it..
    Thanks,
    Ali..
    Consultant,
    iRise Inc.
    [25/Oct/2000 20:06:52:0] error: Exception: SERVLET-compile_failed:
    Failed in compiling template:
    /aria/ariaTest/CreditCard/pgGWPayFeeCustomer.jsp, JSP Error:
    Descriptor not found for prefix : {0}
    Exception Stack Trace:
    java.lang.Exception: JSP Error: Descriptor not found for prefix : {0}
    at com.netscape.jsp.JSP.addTagprefix(Unknown Source)
    at com.netscape.jsp.JSP.parseAt(Unknown Source)
    at com.netscape.jsp.JSP.parseNext(Unknown Source)
    at com.netscape.jsp.JSP.parseBlock(Unknown Source)
    at com.netscape.jsp.JSP.parse(Unknown Source)
    at com.netscape.jsp.JSP.compile(Unknown Source)
    at com.netscape.server.servlet.jsp.JSPCompiler.JSPtoJava
    (Unknown Source)

    Thanks for the info.
    I made necessary modifications and it worked!
    Ali..
    P.S: I'd confused between /WEB-INF.. & WEB-INF...
    --- In [email protected], "Charles Beckham"
    <charles.beckham@s...> wrote:
    Ali,
    I have seen this error before, it means that it can not resolve the taglibs,
    make sure you
    are not including the jato package (which also includes the taglib
    classes)..the jato package
    should be copied to the APPS directory...also make sure you specified the
    taglib info in the
    war descriptor....the description should be uri : /WEB-INF/jato.tld and
    Loacation: /WEB-INF/jato.tld..
    and finally make sure when you added the jato.tld to the war file it is in
    the root of WEB-INF or in
    other words it should resolve to WEB-INF/...
    If you have any more questions I could have a look at you war file and give
    you some ideas...let me know
    and I'll give you an upload ftp site...
    Cheers
    Charles Beckham
    -----Original Message-----
    [Charles Beckham]
    From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=101233080150035167169232031248066208071048">Todd.Fast@S...</a>]
    Sent: Wednesday, October 25, 2000 9:10 PM
    Subject: Re: [iPlanet-JATO] JSP - prefix error - need resolution
    Ali--
    @ the ND4 to iPlanet migration project, we have failed to get
    the JSP
    loaded in iPlanet. The exception displayed in the KJS follows below.
    We are not sure what this implys and how to resolve it (Does it
    require a setting in the deployment tool? or maybe something
    completely different). So, if you could help us better interprete it..
    >>
    [25/Oct/2000 20:06:52:0] error: Exception: SERVLET-compile_failed:
    Failed in compiling template:
    /aria/ariaTest/CreditCard/pgGWPayFeeCustomer.jsp, JSP Error:
    Descriptor not found for prefix : {0}
    Exception Stack Trace:
    java.lang.Exception: JSP Error: Descriptor not found for prefix : {0}
    at com.netscape.jsp.JSP.addTagprefix(Unknown Source)
    at com.netscape.jsp.JSP.parseAt(Unknown Source)
    at com.netscape.jsp.JSP.parseNext(Unknown Source)
    at com.netscape.jsp.JSP.parseBlock(Unknown Source)
    at com.netscape.jsp.JSP.parse(Unknown Source)
    at com.netscape.jsp.JSP.compile(Unknown Source)
    at com.netscape.server.servlet.jsp.JSPCompiler.JSPtoJavaI don't have any significant application deployment experience in iAS, but
    it looks like the taglib descriptor declared in the JSP isn't being found.
    I believe the error message should be "Descriptor not found for prefix:
    jato".
    I can't offer any specific help other than to refer you to Appendix B of
    the
    Migration Survival Guide, which has a walkthrough of deployment of an app
    in
    iAS.
    Todd
    Todd Fast
    Senior Engineer
    Sun/Netscape Alliance
    todd.fast@e...
    eGroups Sponsor
    [email protected]
    [Non-text portions of this message have been removed]

  • JSP Exception Error

    This is my Programe
    <html>
    <head>
    <title>JSP JavaMail Example </title>
    </head>
    <body>
    <%@ page import="java.util.*" %>
    <%@ page import="p1.*" %>
    <%@ page import="javax.mail.*" %>
    <%@ page import="javax.mail.internet.*" %>
    <%@ page import="javax.activation.*" %>
    <%
    out.println("hello");
    String host="smtp.gmail.com";
    String to = request.getParameter("to");
    String from = request.getParameter("from");
    String subject = request.getParameter("subject");
    String messageText = request.getParameter("body");
    out.println("hello");
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.host", host);
    props.put("mail.smtp.auth", "true");
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.starttls.enable","true");
    Session mailSession = Session.getDefaultInstance(props, "");
    mailSession.setDebug(sessionDebug);
    Message msg = new MimeMessage(mailSession);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    msg.setText(messageText);
    Transport.send(msg);
    out.println("Mail was sent to " + to);
    out.println(" from " + from);
    out.println(" using host " + host + ".");
    %>
    </body>
    </html>
    When I Run this It gives following error
    Please help me
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    MimeMessage cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message.RecipientType.TO cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Transport cannot be resolved
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    MimeMessage cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message.RecipientType.TO cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Transport cannot be resolved
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs

    Maybe print out from the exceptions in the conexionBD directly, even do a printStackTrace. Since the exceptions are encapulated it is hard to tell. Your setup for the database looks good. Not sure about class loading this way and how it will pool. I would suggest using the JNDI capability available from the context administration of Tomcat.

Maybe you are looking for

  • TDS at concessional rate

    Hi I have created a WHT code with 10%. But some vendor have given certificate for lower rate of WHT i.e. 2.5% So how this can be configured in SAP without creating new WHT type and WHT code. Is there any configuration by which i can use WHT code with

  • Microsoft skype video call for nokia belle

    hi its normal nokia plus microsoft and nokia belle still didn´t get support for video call and the ios and android yes what can i thing about this?it is the big problem make that for nokia8 or where is the problem ? please can someone tell me more ab

  • How to clone a 2-node ASM RAC db to a 3-node ASM RAC db by RMAN?

    We need to clone a 2-node ASM RAC db to a 3-node ASM RAC db by RMAN. I would think this will be about the same as a regular single db procedure by RMAN mostly. However, in 3 node RAC, there will be additional instance thread in redo (thread 1,2, and

  • HT1766 why won't my ipad 2 charge?

    Cannot charge my i pad?

  • SAP Inventory A/c Vs Purchase

    Hi Experts, Client wants to use the Purchase account instead of Inventory account. As per SAP, while Goods receipt time, based on a/c determination Posting to inventory Inventory A/c Dr   To GR/IR A/c Cr As Client expecting Purchase A/c Dr   To GR/IR