aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes HTTP Status 404 - Servlet action is not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "HTTP Status 404 - Servlet action is not available" Watch "HTTP Status 404 - Servlet action is not available" New topic
Author

HTTP Status 404 - Servlet action is not available

Y Jadhav
Ranch Hand

Joined: Oct 02, 2008
Posts: 37
I am trying to setup struts and hibernate for my new project, but from last three days i am just rid of from these errors

HTTP Status 404 - Servlet action is not available

I know this is common error, I tried every possible way that found me on net.Please help me...

Context.xml is not present in this zip file , I also tried aftre adding it to meta-inf folder...
Below there are my web,struts-config,hibernate.hbm.xml and context.xml is
pasted...


roseindia struts-hibernate integration


web.xml

Struts-config.xml

context.xml

Hibernate.hbm.xml
Jair Rillo Junior
Ranch Hand

Joined: Aug 27, 2008
Posts: 114
Check it out if the Application Server throws any Exception and it is started.


Regards, Jair Rillo Junior
http://www.jairrillo.com/blog, SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, IBM SOA Associate (Test 664).
Y Jadhav
Ranch Hand

Joined: Oct 02, 2008
Posts: 37
Jair Rillo Junior ,

Thank you sir, I resolved this error but new error i am getting that is,

Cannot find bean: "Element" in any scope

org.apache.jasper.JasperException: Exception in JSP: /pages/Element.jsp:8

5:
6: <html:html>
7: <h1>Periodic Element</h1>
8: Name: <bean:write name="Element" property="name"/><br>
9: Symbol: <bean:write name="Element" property="symbol"/><br>
10: Number: <bean:write name="Element" property="num"/><br>
11: Mass: <bean:write name="Element" property="mass"/><br>


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:729)

root cause

javax.servlet.ServletException: Cannot find bean: "Element" in any scope
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.pages.Element_jsp._jspService(Element_jsp.java:79)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
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:729)
Jerwin Louise Uy
Ranch Hand

Joined: Oct 27, 2007
Posts: 75
It cannot find any object bound to "Element" in your page, request, session or application scope.

May I ask how did you define the "Element" binding to a java bean object?


Uy Jerwin Louise Vergara
Junior Developer / Research and Development at Incuventure Partners Corporation
email: jerwin.uy@incuventure.net
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 404 - Servlet action is not available