Hi, I have a trouble with this homework, i don't know what I had wrong. This is my struts.xml file
<?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.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="false" /> <package name="Actions" namespace="/pages" extends="struts- default"> <action name="Hello" class="Actions.Hello"> <result>/pages/Hello.jsp</result> </action> <action name="*" class="Actions.Hello"> <result>/pages/Hello.jsp</result> </action> </package> </struts> This is de file /page/Hello.jsp <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title>Struts 2 Hello Application!</title> </head> <body> <h2><s:property value="message" /></h2> <p><b><s:property value="username" /></b> </body> </html> And this is the Action class package Actions; import com.opensymphony.xwork2.ActionSupport; public class Hello extends ActionSupport { private String username; private String message; public static final String MESSAGE = "Hello!"; @Override public String execute() throws Exception { setMessage(MESSAGE); return SUCCESS; } public void setMessage(String message){this.message = message;} public String getMessage() {return message;} public void setUsername(String username) {this.username = username;} public String getUsername() {return username;} } But when i do the submit in the browser always obtain this descriptionThe requested resource () is not available. And in the log of the application server show this error No configuration found for the specified action: 'Hello' in namespace: ''. Form action defaulting to 'action' attribute's literal value. what I did bad in this exercise? Thanks for any help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---