Another clarification on this one...
I have noticed that the web.xml file that comes with the struts-logon.war includes a
reference for
the \WEB-INF\app.tld, however the app.tld file wasn't a part of the extract...Can
anybody shed some
light on this one? Any input will be appreciated?
I really would like to make this example work..
thanks,
Nicky
Nicky Eshkenazi wrote:
> I have attemped to take a look at the simple Login application available for
> downlaod on husted.com. I am using Tomcat 4.0 beta 6. The was file was
> sucessfully unzipped and the index.jsp worked fine, however the logon.jsp was
> referenced I got the following dump, any help would be appreciated:
>
> -----
>
> A Servlet Exception Has Occurred
> Exception Report:
> javax.servlet.ServletException: Cannot retrieve ActionMappings under key
> "org.apache.struts.action.MAPPINGS"
> at
>
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:452)
>
> at org.apache.jsp._0002flogon_jsp._jspService(_0002flogon_jsp.java:291)
> 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:200)
>
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:456)
> 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:219)
>
> 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.StandardContext.invoke(StandardContext.java:2251)
> 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.AccessLogValve.invoke(AccessLogValve.java:446)
> 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:984)
>
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1074)
> at java.lang.Thread.run(Thread.java:484)
>
> Root Cause:
> javax.servlet.jsp.JspTagException: Cannot retrieve ActionMappings under key
> "org.apache.struts.action.MAPPINGS"
> at org.apache.struts.taglib.form.FormTag.doStartTag(FormTag.java:491)
> at org.apache.jsp._0002flogon_jsp._jspService(_0002flogon_jsp.java:128)
> 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:200)
>
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:456)
> 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:219)
>
> 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.StandardContext.invoke(StandardContext.java:2251)
> 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.AccessLogValve.invoke(AccessLogValve.java:446)
> 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:984)
>
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1074)
> at java.lang.Thread.run(Thread.java:484
> -----------
>
> Is there anything else that I need besides the struts.jar in the WEB-INF/lib
> directory of my app in order to use the Struts framework?
>
> thanks,
> Nicky