WARNING: No configuration found for the specified action: ‘ ‘ in namespace: ‘ ‘. Form action defaulting to ‘action’ attribute’s literal value


Tips:- Look at the namespace tag and the namespace add by you

Steps to resolve this warning

Step 1 ) In the default namespace added in struts.xml file, append a “/” followed by the namespace name

for the “namespace” attribute of the “package” tag “
eg:- package tag attributes :- name=”test” namespace=”/test” extends=”struts-default”

Step 2 ) In the jsp file, append a “/” followed by the namespace name

for the “namespace” attribute of “form” tag”
eg:-
form tag attributes :- action=”TestAction” namespace=”/test”

Advertisements

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: