Originally posted by kranti kumar:
Myself found the soution for this one.
thirumal raps wrote:hi kranthi/everyone,
i got the same error which you got kranthi..
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
how did you solved your problem. where should i check...
pavan kumarsam wrote:org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
cannot find action mappings and formbeans
please send me the reply for this....
Venkat Chadaram wrote:Sorry for replying to a post which have been started years ago. I got the same problem with which this thread started but I found out why. I am demonstrating a sample login application to a class and I got this issue
javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
I have googled a lot but couldnt find an explaination why this error occured. In my application I have two action classes - One action class just pulls some data from the database and forwards it to a display jsp page. Whenver I hit this .do url directly first I dont have any problem. Another Action class is LoginAction to which the input is a login jsp page. Whenever I access this page first after deploying the application I get this above error.
Whenver this page is accessed first - by that time if the ActionServlet is not loaded - the configuration is not loaded and thats the reason why we get this error. To enforce loading of this servlet use <load-on-startup>1</load-on-startup> in web.xml - that will load the servlet before and it will find the required mappings when we access the jsp page.
I am sorry if this solution is already published anywhere on net - just that I couldnt find it on google.
Hey! You're stepping on my hand! Help me tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton