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 Namespace Problem in Struts2 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 "Namespace Problem in Struts2" Watch "Namespace Problem in Struts2" New topic
Author

Namespace Problem in Struts2

leo jacob
Greenhorn

Joined: May 02, 2011
Posts: 17
Hi,

I am new to Struts. I am working on a small example of struts2. I am getting following warning.


WARNING: No configuration found for the specified action: 'login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
Jun 2, 2011 1:31:09 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: No configuration found for the specified action: 'login.action' in namespace: ''. Form action defaulting to 'action' attribute's literal value.
Jun 2, 2011 1:32:11 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: No configuration found for the specified action: 'login.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
Jun 2, 2011 1:32:11 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: No configuration found for the specified action: 'login.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.


Entry in Struts.xml is like this;

Struts.xml

<package name="default" extends="struts-default" namespace="/">



Any help is highly appreciated.

Jesus Mireles
Ranch Hand

Joined: Mar 10, 2010
Posts: 122

to be honest there is not enough information to help
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

I hope this will clear your doubt namespace in struts2


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
 
Don't get me started about those stupid light bulbs.
 
subject: Namespace Problem in Struts2
 
Similar Threads
Struts can't work
Struts2: Accessing a request Parameter from Action
Struts2.2.3 problem
Resource not found
Page not found