This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes project working in Netbeans, but can't deploy it in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "project working in Netbeans, but can Watch "project working in Netbeans, but can New topic
Author

project working in Netbeans, but can't deploy it in Tomcat

majid nakit
Ranch Hand

Joined: Jun 26, 2001
Posts: 164
Hi,
I have a project working fine in Netbeans, but when I take the war file generated by Netbeans and put it in the webapp of Tomcat I got this error :

org.apache.jasper.JasperException: Exception in JSP: /vote/Logon.jsp:79

76: </tr>
77:
78: <%-- <html:form action="/logonAction.do" method="post" focus="username"> --%>
79: <html:form action="/logonAction.do" method="post" focus="username">
80: <tr>
81: <td>   </td>
82: </tr>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.vote.Logon_jsp._jspService(Logon_jsp.java:273)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)



please your help is appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: project working in Netbeans, but can't deploy it in Tomcat
 
Similar Threads
i am getting this exception
JSTL-XML problem
Error:Unable to get connection, DataSource invalid
Getting the exception
Issue with struts tag - bean:message : Missing message for key "welcome.title"