Re: WARNING: No configuration found for the specified action: 'HelloWorld' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

2011-01-12 Thread Dave Newton
Struts. Struts 2.

Any startup messages in the log? We have no idea what your
configuration looks like or how you're calling the action--not sure
how to help other than normal web app debugging tips.

Dave

On Wednesday, January 12, 2011, Nuwan Arambage nuwan.aramb...@gmail.com wrote:
 Hi,
 I'm a newbie to the structs2 and I was trying to write my first hello
 world application using structs2.Once I have tried it , I was getting
 the following warning message.
 WARNING: No configuration found for the specified action: 'HelloWorld'
 in namespace: ''. Form action defaulting to 'action' attribute's
 literal value.

 As far as I know , I have correctly mapped the actions, I couldn't
 find out what was wrong to surface this message.Why does this warning
 message popping up  eventually I wouldn't be able to run the
 application.

 I'm looking forward to better answer form structs2 community
 Thanks
 --
  Fail again. Fail better

 With Regards ,
 Nuwan  Arambage

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



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



Re: WARNING: No configuration found for the specified action: 'HelloWorld' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

2011-01-12 Thread Nuwan Arambage
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;

struts
constant name=struts.devMode value=true /
package name=default namespace= extends=struts-default
action name=HelloWorld class=com.nuwan.HelloWorld
result name=successHelloWorld.jsp/result
/action
/package
/struts

this is my structs.xml looks like and index.jsp is  as follows

%@ page contentType=text/html; charset=UTF-8 %
%@ taglib prefix=s uri=/struts-tags %
html
head
titleName Collector/title
/head
body
hr
h4Enter your name so that we can customize a greeting just 
for you!/h4  
s:form action=HelloWorld
s:textfield name=name label=Your name/
s:submit/
/s:form
hr
/body
/html

I think this will helpful to go further pinpointing the fault.

On Wed, Jan 12, 2011 at 6:13 PM, Dave Newton davelnew...@gmail.com wrote:
 Struts. Struts 2.

 Any startup messages in the log? We have no idea what your
 configuration looks like or how you're calling the action--not sure
 how to help other than normal web app debugging tips.

 Dave

 On Wednesday, January 12, 2011, Nuwan Arambage nuwan.aramb...@gmail.com 
 wrote:
 Hi,
 I'm a newbie to the structs2 and I was trying to write my first hello
 world application using structs2.Once I have tried it , I was getting
 the following warning message.
 WARNING: No configuration found for the specified action: 'HelloWorld'
 in namespace: ''. Form action defaulting to 'action' attribute's
 literal value.

 As far as I know , I have correctly mapped the actions, I couldn't
 find out what was wrong to surface this message.Why does this warning
 message popping up  eventually I wouldn't be able to run the
 application.

 I'm looking forward to better answer form structs2 community
 Thanks
 --
  Fail again. Fail better

 With Regards ,
 Nuwan  Arambage

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



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





-- 
 Fail again. Fail better

With Regards ,
Nuwan  Arambage

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



Re: WARNING: No configuration found for the specified action: 'HelloWorld' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

2011-01-12 Thread Mohamed SIDI
Hello,

You have tu put an / before yout action name in your JSP page, try with
this :

s:form action=/HelloWorld
   s:textfield name=name label=Your name/
   s:submit/
   /s:form
and I think you have tu put / in your namesapce definition

Best Regards


2011/1/12 Nuwan Arambage nuwan.aramb...@gmail.com

 ?xml version=1.0 encoding=UTF-8 ?
 !DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;

 struts
constant name=struts.devMode value=true /
package name=default namespace= extends=struts-default
action name=HelloWorld class=com.nuwan.HelloWorld
result name=successHelloWorld.jsp/result
/action
/package
 /struts

 this is my structs.xml looks like and index.jsp is  as follows

 %@ page contentType=text/html; charset=UTF-8 %
 %@ taglib prefix=s uri=/struts-tags %
 html
head
titleName Collector/title
/head
body
hr
h4Enter your name so that we can customize a greeting just
 for you!/h4
s:form action=HelloWorld
s:textfield name=name label=Your name/
s:submit/
/s:form
hr
/body
 /html

 I think this will helpful to go further pinpointing the fault.

 On Wed, Jan 12, 2011 at 6:13 PM, Dave Newton davelnew...@gmail.com
 wrote:
  Struts. Struts 2.
 
  Any startup messages in the log? We have no idea what your
  configuration looks like or how you're calling the action--not sure
  how to help other than normal web app debugging tips.
 
  Dave
 
  On Wednesday, January 12, 2011, Nuwan Arambage nuwan.aramb...@gmail.com
 wrote:
  Hi,
  I'm a newbie to the structs2 and I was trying to write my first hello
  world application using structs2.Once I have tried it , I was getting
  the following warning message.
  WARNING: No configuration found for the specified action: 'HelloWorld'
  in namespace: ''. Form action defaulting to 'action' attribute's
  literal value.
 
  As far as I know , I have correctly mapped the actions, I couldn't
  find out what was wrong to surface this message.Why does this warning
  message popping up  eventually I wouldn't be able to run the
  application.
 
  I'm looking forward to better answer form structs2 community
  Thanks
  --
   Fail again. Fail better
 
  With Regards ,
  Nuwan  Arambage
 
  -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
 
 
 
  -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
 
 



 --
  Fail again. Fail better

 With Regards ,
 Nuwan  Arambage

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




-- 


Cordialement

Mohamed


Re: WARNING: No configuration found for the specified action:

2010-03-04 Thread sgupta4686

Hi , 
 I am getting the following log in geronimo for few action classes only :
Geronimo log shows:
2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the specified
action: 'SubmitSearchText.action' in namespace: '/text'. Form action
defaulting to 'action' attribute's literal value.

Following is struts.xml :
package name=text namespace=/text extends=default 
 action name=*SearchText method={1} 
class=com.presentation.action.SearchAction
text
result/WEB-INF/jsp/search/search.jsp/result
result 
name=input/WEB-INF/jsp/search/search.jsp/result
result name=searchresults 
type=redirect-actionResultsText/result
/action
/package

Following is the form set in jsp:
s:form method=post id=mainForm action=SubmitSearchText.action
namespace=/text

Kindly help me to remove the warnings from the server log.

Thanks,
SGupta

-- 
View this message in context: 
http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790799.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: WARNING: No configuration found for the specified action:

2010-03-04 Thread sgupta4686



sgupta4686 wrote:
 
 Hi , 
  I am getting the following log in geronimo for few action classes only :
 Geronimo log shows:
 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the
 specified action: 'SubmitSearchText.action' in namespace: '/text'. Form
 action defaulting to 'action' attribute's literal value.
 
 Following is struts.xml :
   package name=text namespace=/text extends=default 
  action name=*SearchText method={1} 
 class=com.presentation.action.SearchAction
   text
   result/WEB-INF/jsp/search/search.jsp/result
   result 
 name=input/WEB-INF/jsp/search/search.jsp/result
   result name=searchresults
 type=redirect-actionResultsText/result
   /action
 /package
 
 Following is the form set in jsp:
 s:form method=post id=mainForm action=SubmitSearchText.action
 namespace=/text
 
 Kindly help me to remove the warnings from the server log.
 
 Thanks,
 SGupta
 
 

-- 
View this message in context: 
http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790806.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: WARNING: No configuration found for the specified action:

2010-03-04 Thread Jose A. Corbacho
Remove .action from s:form method=post id=mainForm
action=SubmitSearchText.action

That should make it

On Fri, Mar 5, 2010 at 2:44 PM, sgupta4686 sugandh_gu...@infosys.comwrote:


 Hi ,
  I am getting the following log in geronimo for few action classes only :
 Geronimo log shows:
 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the
 specified
 action: 'SubmitSearchText.action' in namespace: '/text'. Form action
 defaulting to 'action' attribute's literal value.

 Following is struts.xml :
package name=text namespace=/text extends=default 
 action name=*SearchText method={1}
 class=com.presentation.action.SearchAction
text
result/WEB-INF/jsp/search/search.jsp/result
result
 name=input/WEB-INF/jsp/search/search.jsp/result
result name=searchresults
 type=redirect-actionResultsText/result
/action
 /package

 Following is the form set in jsp:
 s:form method=post id=mainForm action=SubmitSearchText.action
 namespace=/text

 Kindly help me to remove the warnings from the server log.

 Thanks,
 SGupta

 --
 View this message in context:
 http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790799.html
 Sent from the Struts - User mailing list archive at Nabble.com.


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




Re: WARNING: No configuration found for the specified action:

2010-03-04 Thread sgupta4686

Hi ,
  I am getting the following log in geronimo for few action classes only :
 Geronimo log shows:
 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the 
 specified action: 'SubmitSearchText.action' in namespace: '/text'. 
 Form action defaulting to 'action' attribute's literal value.
 
 Following is struts.xml :
   package name=text namespace=/text extends=default 
  action name=*SearchText method={1} 
 class=com.presentation.action.SearchAction
   text
   result/WEB-INF/jsp/search/search.jsp/result
   result 
 name=input/WEB-INF/jsp/search/search.jsp/result
   result name=searchresults
 type=redirect-actionResultsText/result
   /action
 /package
 
 Following is the form set in jsp:
 s:form method=post id=mainForm action=SubmitSearchText.action
 namespace=/text
 
 Kindly help me to remove the warnings from the server log.
 
 Thanks,
 SGupta

-- 
View this message in context: 
http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790821.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: WARNING: No configuration found for the specified action:

2010-03-04 Thread sgupta4686

Thanks a lot. This is working.

mccorby wrote:
 
 Remove .action from s:form method=post id=mainForm
 action=SubmitSearchText.action
 
 That should make it
 
 On Fri, Mar 5, 2010 at 2:44 PM, sgupta4686
 sugandh_gu...@infosys.comwrote:
 

 Hi ,
  I am getting the following log in geronimo for few action classes only :
 Geronimo log shows:
 2010-03-01 2:01:53,582 WARN  [Form] No configuration found for the
 specified
 action: 'SubmitSearchText.action' in namespace: '/text'. Form action
 defaulting to 'action' attribute's literal value.

 Following is struts.xml :
package name=text namespace=/text extends=default 
 action name=*SearchText method={1}
 class=com.presentation.action.SearchAction
text
result/WEB-INF/jsp/search/search.jsp/result
result
 name=input/WEB-INF/jsp/search/search.jsp/result
result name=searchresults
 type=redirect-actionResultsText/result
/action
 /package

 Following is the form set in jsp:
 s:form method=post id=mainForm action=SubmitSearchText.action
 namespace=/text

 Kindly help me to remove the warnings from the server log.

 Thanks,
 SGupta

 --
 View this message in context:
 http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790799.html
 Sent from the Struts - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://old.nabble.com/WARNING%3A-No-configuration-found-for-the-specified-action%3A-tp23112439p27790863.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: WARNING: No configuration found for the specified action:

2009-04-19 Thread Lukasz Lenart
2009/4/18 Stefano Tranquillini stefano.tranquill...@gmail.com:
    package name=home extends=default namespace=/

There isn't namespace user, only /. Namespace is a virtual name,
doesn't base on packages or something. Try to read [1] to understand
it deeply

[1] http://struts.apache.org/2.1.6/docs/namespace-configuration.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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