Are you able to run the Struts applications provided in the
distribution?
The action mappings are provided through the struts-config.xml in the
application's WEB-INF folder.
*********** REPLY SEPARATOR ***********
On 2/5/2001 at 8:21 PM Toby wrote:
>Hi,
>I'm new to Tomcat and Struts. I can get the basic hello world struts
> examples to run in my environment. But when I try something more
> sophisticated, I receive the following error message concerning the
> ActionMappings. I believe I have a Context Path problem, but am not
> sure how to resolve it. Can anyone help?
>
> Error: 500
> Location: /struts-logon/logon.jsp
> Internal Servlet Error:
>
> javax.servlet.ServletException: Cannot retrieve ActionMappings under
>key
> "org.apache.struts.action.MAPPINGS"
> at
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:386)
>
> at
>
_0002flogon_0002ejsplogon_jsp_0._jspService(_0002flogon_0002ejsplogon_js
p_0.java,
>
> Compiled Code)
> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServle
t.java:174)
>
> at
>
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
>
> at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
> Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
>
> Compiled Code)
> at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java,
>
> Compiled Code)
> at
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java
,
>
> Compiled Code)
> at java.lang.Thread.run(Thread.java, Compiled Code)
>
> 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
>
_0002flogon_0002ejsplogon_jsp_0._jspService(_0002flogon_0002ejsplogon_js
p_0.java,
>
> Compiled Code)
> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServle
t.java:174)
>
> at
>
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
>
> at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
> Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
>
> Compiled Code)
> at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java,
>
> Compiled Code)
> at
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java
,
>
> Compiled Code)
> at java.lang.Thread.run(Thread.java, Compiled Code)
>
>
>Thanks for the help.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/about/struts/