struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sivacool <>
Subject There is no Action mapped for namespace / and action name getTutorial. - [unknown location]
Date Wed, 19 Dec 2012 11:57:00 GMT


<?xml version="1.0" encoding="UTF-8"?>  
<web-app xmlns:xsi=""
id="WebApp_ID" version="3.0">  


<%@ page language="java" contentType="text/html; charset=ISO-8859-1"  
<!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">  
<title>Insert title here</title>  
<form action="./getTutorial.action">  
    Username: <input type="text" />  
    <input type="submit" value="Submit" />  

<?xml version="1.0" encoding="UTF-8"?>  
<!DOCTYPE struts PUBLIC &quot;-//Apache Software Foundation//DTD Struts
Configuration 2.0//EN&quot;   
    <package name="default" extends="struts-default">  
        <action name="getTutorial" class="com.test.TutorialAction">  
            <result name="success">/success.jsp</result>  
            <result name="failure">/failure.jsp</result>  

package com.test;  
public class TutorialAction {  
    public String execute()  
        System.out.println("Hello from execute");  
        return "success";  

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