| Author |
Servlet Exception
|
trinity jecob
Greenhorn
Joined: Sep 13, 2006
Posts: 14
|
|
Hi I am getting the following exception while loading a JSP page. (The application is using the Struts Frame work)
|
 |
Sivaraman Lakshmanan
Ranch Hand
Joined: Aug 02, 2003
Posts: 231
|
|
hi trinity, There is a seperate forum for struts. This exception is caused because struts could not find the action mapping in the struts-config.xml file.
|
Regards,
Sivaraman.L
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Please be sure to post Struts questions in the Struts forum. I have moved this post there for you.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
trinity jecob
Greenhorn
Joined: Sep 13, 2006
Posts: 14
|
|
First of all sorry for posting the question in a wrong forum and thanks for forwarding it to the correct one I have a Login.jsp, in which the form tag is specified as follows struts-config.html contains - I am using Tomcat5.0. Dir. structure as follows
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
This error occurs when the Struts ActionServlet has not been initialized prior to your calling a Struts JSP. There are generally two possible reasons for this: 1. You didn't put <load-on-startup>1</load-on-startup> in the ActionServlet's definition in your web.xml file. 2. The ActionServlet is throwing an exception when it tries to initialize. If this is the case, you will see a stack trace indicating what the problem is in the Application server's log when the application first starts up. The most common reason it might throw an exception is that your XML is not well-formed in the struts-config.xml file.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: Servlet Exception
|
|
|