struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "krishnan.1000" <>
Subject Help: Getting Error Message "Not able to load configuration for specified action"
Date Thu, 04 Sep 2008 18:30:18 GMT

I am a Struts 2 newbie and I am trying to develop a simple web application.
The application consists of a simple login page containing a text field and
password field and submit button.

When I try to load the web page, this is the error tht I get. I am deploying
the application using Tomcat v6.

The requested resource (/turorial/login) is not available.



My struts.xml file

        <package name="tutorial" extends="struts-default" namespace="/">
    	   <action name="home">
            <action name="login"
class="com.jbe.tutorial.web.action.LoginAction" method="login" >
               <result name="input">/jsp/login.jsp</result>
                <result name="success" type="redirect">loginSuccess</result>
            <action name = "loginSuccess"
class="com.jbe.tutorial.web.action.LoginAction" method = "loginSuccess">
              <result name="success">/jsp/success.jsp</result>

My login.jsp file

    <s:form action="login">
    <s:textfield name="username" label="Name"/>
    <s  assword name ="password" label="Password" />
    <input type="submit" name="Login" value="Login" />
    <input type="reset" value="Reset" name="reset" />

I am getting the error message No configuration found for the specified
action": 'login' in namespace ''. Form action defaulting to 'action'
attribute's literal value.

Is there anything I am doing wrong?  I have read similar posts in the forum
and have done all that has been suggested but I still am not getting the
error. Any help would be appreciated


Karthik Krishnan
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message