Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 161
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.
 
Don't get me started about those stupid light bulbs.
 
subject: project working in Netbeans, but can't deploy it in Tomcat
 
Similar Threads
i am getting this exception
Error:Unable to get connection, DataSource invalid
JSTL-XML problem
Getting the exception
Issue with struts tag - bean:message : Missing message for key "welcome.title"