File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No configuration found for the specified action: 'Login' in namespace: '/jsp'

 
Ashu Bharadwaj
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting error No configuration found for the specified action: 'Login' in namespace: '/jsp' Form action defaulting to 'action' attribute's literal value.

I have checked the mapping for the action: Login in struts.xml and in JSP.

[


And struts.xml looks like:
</action>
<action name="Login" class="com.action.ReportAction" method="execute">
<result name="success">./jsp/index.jsp</result>
<result name="input">./jsp/Login.jsp</result>


JSP page looks like:
<s:form action="Login" method="POST" validate="true" theme="simple" >


</action][/code]
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should keep your login action in jsp namespace.

Struts2 NameSpace
 
Ashu Bharadwaj
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

I tried by putting Action classes in jsp folder. I copied from WEB-INF/classes to jsp folder in Tomcat6.

Still getting the same result.
 
jatan bhavsar
Ranch Hand
Posts: 297
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashu,

putting Action classes in jsp folder
.
I suggest you to down load simple example, import project into the eclipse and then run it.
See how it works and then you should start your own application.

Regards
Jatan
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic