Hello everyone,
I am trying to figure out why I can not retrive and
display my data with my jsp from the servlet. I access
data from the servlet then pass it on to a jsp to display it.
at first I thought it was due to the fact that the servlet was
not added to my web.xml descriptor, so I did.
I am using displaytag to present data, I get this error in the jsp
Unable to load tag headler class “org.displaytag.tag.el.ELTableTag” for display: Table.
It is pointing to this in my jsp:
<display:table name="sessionScope.baleent" uid="datum" defaultsort="1" defaultorder="descending" pagesize="7" class="tabledata">
But in my jsp I have a header as:
<%_at_taglib uri="/WEB-INF/displaytag-el.tld" prefix="display"%>
and I have added this in my web.xml descriptor:
<web-app version="2.5" xmlns="
http://java.sun.com/xml/ns/javaee" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<servlet-name>Controllerserv</servlet-name>
<servlet-class>servlet.Controllerserv</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Controllerserv</servlet-name>
<url-pattern>/Controllerserv</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>
http://displaytag.sf.net</taglib-uri>
<taglib-location>/WEB-INF/displaytag-el.tld</taglib-location>
</taglib>
</jsp-config>
</web-app>
I get the following error from the server log:
[#|2009-07-07T01:35:15.844+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=54;_ThreadName=httpSSLWorkerThread-8080-1;BaleBean;|EJB5018: An exception was thrown during an ejb invocation on [BaleBean]|#]
[#|2009-07-07T01:35:15.844+0100|INFO|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=54;_ThreadName=httpSSLWorkerThread-8080-1;|
javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key: 90c00200a81f-52a0ad8c-0
at com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:2400)
at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1675)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1229)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:202)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:117)
at $Proxy947.findAllBales(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
at entityJB.__BaleBeanRemote_Remote_DynamicStub.findAllBales(entityJB/__BaleBeanRemote_Remote_DynamicStub.java)
at entityJB._BaleBeanRemote_Wrapper.findAllBales(entityJB/_BaleBeanRemote_Wrapper.java)
at servlet.Controllerserv.processRequest(Controllerserv.java:91)
at servlet.Controllerserv.doGet(Controllerserv.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
[#|2009-07-07T01:35:15.845+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=54;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=357ec0ca-ba6d-4c31-b63e-0f74718b7bbf;|
Can not show the all bale page|#]
SO what Im I doing wrong?
Any suggestions?
Thanking you.
eve
_________________________________________________________________
MSN straight to your mobile - news, entertainment, videos and more.
http://clk.atdmt.com/UKM/go/147991039/direct/01/