struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hari_s" <har...@indonesian-aerospace.com>
Subject RE: Errors...help urgently
Date Tue, 23 Sep 2003 02:30:38 GMT
Put your action class name  in action 
<html:form action="youActionClass">

-----Original Message-----
From: Mahavir [mailto:mahavir@fideltech.com] 
Sent: Monday, September 22, 2003 7:40 PM
To: struts-user@jakarta.apache.org
Subject: Errors...help urgently

Hi Friemds

I am using html tag library inside JSP page.
When i tried to use form tag for a login form like

<html:form action="/login">
  ---
</html:form>

then i got following error


Error: 500
Location: /mystrutsapp6/login.jsp
Internal Servlet Error:

javax.servlet.ServletException: Cannot find ActionMappings 
or ActionFormBeans collection
	at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:460)
	at login_1._jspService(login_1.java:474)
	at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at 
javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at 
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
	at 
org.apache.tomcat.core.Handler.invoke(Handler.java:322)
	at 
org.apache.tomcat.core.Handler.service(Handler.java:235)
	at 
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
	at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:917)
	at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
	at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt
p10Interceptor.java:176)
	at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:49
4)
	at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:516)
	at java.lang.Thread.run(Thread.java:479)
Root cause:
javax.servlet.jsp.JspException: Cannot find ActionMappings 
or ActionFormBeans collection
	at 
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:798)
	at 
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
	at login_1._jspService(login_1.java:250)
	at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at 
javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at 
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
	at 
org.apache.tomcat.core.Handler.invoke(Handler.java:322)
	at 
org.apache.tomcat.core.Handler.service(Handler.java:235)
	at 
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
	at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:917)
	at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
	at 
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt
p10Interceptor.java:176)
	at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:49
4)
	at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:516)
	at java.lang.Thread.run(Thread.java:479)

why this error is coming?

please help urgently

Regards
Mahavir




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message